876cc368b0
(cherry picked from commit e0ace535d5f3af71eb13598d92524caf2c6d9bbf)
23 lines
667 B
Dart
23 lines
667 B
Dart
import 'package:core/presentation/state/failure.dart';
|
|
import 'package:core/presentation/state/success.dart';
|
|
import 'package:jmap_dart_client/jmap/core/user_name.dart';
|
|
import 'package:model/account/password.dart';
|
|
|
|
class GetCredentialViewState extends UIState {
|
|
final Uri baseUrl;
|
|
final UserName userName;
|
|
final Password password;
|
|
|
|
GetCredentialViewState(this.baseUrl, this.userName, this.password);
|
|
|
|
@override
|
|
List<Object> get props => [baseUrl, userName, password];
|
|
}
|
|
|
|
class GetCredentialFailure extends FeatureFailure {
|
|
|
|
GetCredentialFailure(dynamic exception) : super(exception: exception);
|
|
|
|
@override
|
|
List<Object?> get props => [exception];
|
|
} |