cake_wallet/lib/src/stores/exchange/limits_state.dart

21 lines
484 B
Dart
Raw Normal View History

2020-01-04 19:31:52 +00:00
import 'package:flutter/foundation.dart';
import 'package:cake_wallet/src/domain/exchange/limits.dart';
abstract class LimitsState {}
class LimitsInitialState extends LimitsState {}
class LimitsIsLoading extends LimitsState {}
class LimitsLoadedSuccessfully extends LimitsState {
final Limits limits;
LimitsLoadedSuccessfully({@required this.limits});
}
class LimitsLoadedFailure extends LimitsState {
final String error;
LimitsLoadedFailure({@required this.error});
}