isCanceled property

bool get isCanceled

Whether the prompt was dismissed, by the user, the system or the app.

Implementation

bool get isCanceled =>
    reason == AuthenticationErrorReason.userCanceled ||
    reason == AuthenticationErrorReason.systemCanceled;