Files
workavia-mail-front/lib/features/quotas/domain/state/get_quotas_state.dart
T
dab246 a2875ea921 TF-2064 Handle limit storage to show warning banner
(cherry picked from commit 3e36cebd5cbe880f9832c62463e71979e15e1741)
2023-08-18 21:29:50 +07:00

20 lines
495 B
Dart

import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
import 'package:jmap_dart_client/jmap/quotas/quota.dart';
class GetQuotasLoading extends LoadingState {}
class GetQuotasSuccess extends UIState {
final List<Quota> quotas;
GetQuotasSuccess(this.quotas);
@override
List<Object?> get props => [quotas];
}
class GetQuotasFailure extends FeatureFailure {
GetQuotasFailure(dynamic exception) : super(exception: exception);
}