Files
workavia-mail-front/lib/features/login/domain/state/get_credential_state.dart
T

23 lines
571 B
Dart

import 'package:core/core.dart';
import 'package:model/account/password.dart';
import 'package:model/account/user_name.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 {
final dynamic exception;
GetCredentialFailure(this.exception);
@override
List<Object?> get props => [exception];
}