mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
18 lines
495 B
Dart
18 lines
495 B
Dart
|
import 'package:flutter/foundation.dart';
|
||
|
|
||
|
abstract class SendViewModelState {}
|
||
|
|
||
|
class InitialSendViewModelState extends SendViewModelState {}
|
||
|
|
||
|
class TransactionIsCreating extends SendViewModelState {}
|
||
|
class TransactionCreatedSuccessfully extends SendViewModelState {}
|
||
|
|
||
|
class TransactionCommitting extends SendViewModelState {}
|
||
|
|
||
|
class TransactionCommitted extends SendViewModelState {}
|
||
|
|
||
|
class SendingFailed extends SendViewModelState {
|
||
|
SendingFailed({@required this.error});
|
||
|
|
||
|
String error;
|
||
|
}
|