Last active
October 19, 2019 02:49
-
-
Save felangel/5c9a5f4cc79cef7dbe4a3c979b446b4d to your computer and use it in GitHub Desktop.
[flutter_login] Authentication State
This file contains 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
import 'package:equatable/equatable.dart'; | |
abstract class AuthenticationState extends Equatable { | |
@override | |
List<Object> get props => []; | |
} | |
class AuthenticationUninitialized extends AuthenticationState {} | |
class AuthenticationAuthenticated extends AuthenticationState {} | |
class AuthenticationUnauthenticated extends AuthenticationState {} | |
class AuthenticationLoading extends AuthenticationState {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment