Files
workavia-mail-front/lib/features/home/domain/state/get_session_state.dart
T
dab246 4ff601b4fc TF-2311 Remove session page view
(cherry picked from commit 557d67b816c91076d8cafc9aa680e62d5b012f5b)
2023-11-21 16:54:33 +07:00

20 lines
562 B
Dart

import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
import 'package:jmap_dart_client/jmap/core/session/session.dart';
class GetSessionLoading extends LoadingState {}
class GetSessionSuccess extends UIState {
final Session session;
GetSessionSuccess(this.session);
@override
List<Object> get props => [session];
}
class GetSessionFailure extends FeatureFailure {
final dynamic remoteException;
GetSessionFailure({dynamic exception, this.remoteException}) : super(exception: exception);
}