0583406e3b
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
22 lines
480 B
Dart
22 lines
480 B
Dart
import 'package:core/core.dart';
|
|
import 'package:jmap_dart_client/jmap/core/state.dart';
|
|
import 'package:jmap_dart_client/jmap/quotas/quota.dart';
|
|
|
|
class GetQuotasSuccess extends UIState {
|
|
final List<Quota> quotas;
|
|
final State? state;
|
|
|
|
GetQuotasSuccess(this.quotas, this.state);
|
|
|
|
@override
|
|
List<Object?> get props => [
|
|
quotas,
|
|
state,
|
|
];
|
|
}
|
|
|
|
class GetQuotasFailure extends FeatureFailure {
|
|
|
|
GetQuotasFailure(dynamic exception) : super(exception: exception);
|
|
}
|