mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 18:07:44 +00:00
17 lines
No EOL
366 B
Dart
17 lines
No EOL
366 B
Dart
abstract class ExecutionState {}
|
|
|
|
class InitialExecutionState extends ExecutionState {}
|
|
|
|
class IsExecutingState extends ExecutionState {}
|
|
|
|
class ExecutedSuccessfullyState extends ExecutionState {
|
|
ExecutedSuccessfullyState({this.payload});
|
|
|
|
final dynamic payload;
|
|
}
|
|
|
|
class FailureState extends ExecutionState {
|
|
FailureState(this.error);
|
|
|
|
final String error;
|
|
} |