Created
January 7, 2023 13:08
-
-
Save FlutterWiz/d314c752df6ed08646ab09fa03885d30 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part 'auth_failure.freezed.dart'; | |
@freezed | |
class AuthFailure with _$AuthFailure { | |
const factory AuthFailure.serverError() = _ServerError; | |
const factory AuthFailure.tooManyRequests() = _TooManyRequests; | |
const factory AuthFailure.deviceNotSupported() = _DeviceNotSupported; | |
const factory AuthFailure.smsTimeout() = _SmsTimeout; | |
const factory AuthFailure.sessionExpired() = _SessionExpired; | |
const factory AuthFailure.invalidVerificationCode() = _InvalidVerificationCode; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment