isDemoPasswordExpired function

bool isDemoPasswordExpired(
  1. String username,
  2. String password
)

Whether the demo credentials represent an expired password flow.

Implementation

bool isDemoPasswordExpired(String username, String password) =>
    username == demoUsername && password == 'expired';