TF-2311 Remove session page view
(cherry picked from commit 557d67b816c91076d8cafc9aa680e62d5b012f5b)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class StoreSessionLoading extends LoadingState {}
|
||||
|
||||
class StoreSessionSuccess extends UIState {}
|
||||
|
||||
class StoreSessionFailure extends FeatureFailure {
|
||||
|
||||
StoreSessionFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
Reference in New Issue
Block a user