mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 18:07:44 +00:00
20 lines
473 B
Dart
20 lines
473 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:cake_wallet/exchange/limits.dart';
|
|
|
|
abstract class LimitsState {}
|
|
|
|
class LimitsInitialState extends LimitsState {}
|
|
|
|
class LimitsIsLoading extends LimitsState {}
|
|
|
|
class LimitsLoadedSuccessfully extends LimitsState {
|
|
LimitsLoadedSuccessfully({@required this.limits});
|
|
|
|
final Limits limits;
|
|
}
|
|
|
|
class LimitsLoadedFailure extends LimitsState {
|
|
LimitsLoadedFailure({@required this.error});
|
|
|
|
final String error;
|
|
}
|