mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 17:57:36 +00:00
21 lines
484 B
Dart
21 lines
484 B
Dart
|
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});
|
||
|
}
|