Skip to content

Instantly share code, notes, and snippets.

@trongdth
Created August 26, 2019 16:18
Show Gist options
  • Save trongdth/4c7da0102b854ffe412e1ad75ded5638 to your computer and use it in GitHub Desktop.
Save trongdth/4c7da0102b854ffe412e1ad75ded5638 to your computer and use it in GitHub Desktop.
import 'package:equatable/equatable.dart';
abstract class AuthenticationState extends Equatable {}
class AuthenticationUninitialized extends AuthenticationState {
@override
String toString() => 'AuthenticationUninitialized';
}
class AuthenticationAuthenticated extends AuthenticationState {
@override
String toString() => 'AuthenticationAuthenticated';
}
class AuthenticationUnauthenticated extends AuthenticationState {
@override
String toString() => 'AuthenticationUnauthenticated';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment