9b661b0688
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit 7b0c0015a15a243b6b4aef3d78e7653d556ad109)
19 lines
505 B
Dart
19 lines
505 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 {
|
|
|
|
GetSessionFailure(dynamic exception) : super(exception: exception);
|
|
} |