Created
December 13, 2022 09:05
-
-
Save umuieme/f7b193b9f25019cc049dce06f64b2cb9 to your computer and use it in GitHub Desktop.
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
part of '$cubitname$.dart'; | |
@immutable | |
abstract class $blocName$State extends Equatable{ | |
@override | |
List<Object?> get props => []; | |
} | |
class $blocName$Initial extends $blocName$State {} | |
class $blocName$LoadInProgress extends $blocName$State{ | |
} | |
class $blocName$LoadFailure extends $blocName$State{ | |
final String error; | |
$blocName$LoadFailure(this.error); | |
} | |
class $blocName$LoadSuccess extends $blocName$State { | |
$END$ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment