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 {
|
|
|
|
LimitsLoadedSuccessfully({@required this.limits});
|
2020-01-08 12:26:34 +00:00
|
|
|
|
|
|
|
final Limits limits;
|
2020-01-04 19:31:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class LimitsLoadedFailure extends LimitsState {
|
|
|
|
LimitsLoadedFailure({@required this.error});
|
2020-01-08 12:26:34 +00:00
|
|
|
|
|
|
|
final String error;
|
2020-01-04 19:31:52 +00:00
|
|
|
}
|