4ff601b4fc
(cherry picked from commit 557d67b816c91076d8cafc9aa680e62d5b012f5b)
20 lines
562 B
Dart
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);
|
|
} |