fixup! TF-1194 edit default identity: update presentation layer
This commit is contained in:
@@ -1,18 +1,21 @@
|
||||
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'package:jmap_dart_client/jmap/account_id.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/session/session.dart';
|
||||
import 'package:jmap_dart_client/jmap/identities/identity.dart';
|
||||
import 'package:model/model.dart';
|
||||
import 'package:tmail_ui_user/features/manage_account/presentation/model/identity_action_type.dart';
|
||||
|
||||
class IdentityCreatorArguments with EquatableMixin {
|
||||
final AccountId accountId;
|
||||
final Session session;
|
||||
final UserProfile userProfile;
|
||||
final IdentityActionType actionType;
|
||||
final Identity? identity;
|
||||
|
||||
IdentityCreatorArguments(
|
||||
this.accountId,
|
||||
this.session,
|
||||
this.userProfile,
|
||||
{
|
||||
this.identity,
|
||||
@@ -21,5 +24,10 @@ class IdentityCreatorArguments with EquatableMixin {
|
||||
);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [accountId, userProfile, identity, actionType];
|
||||
List<Object?> get props => [
|
||||
accountId,
|
||||
session,
|
||||
userProfile,
|
||||
identity,
|
||||
actionType];
|
||||
}
|
||||
Reference in New Issue
Block a user