copyWith method
AuthUserModel
copyWith({
- AuthToken? authToken,
- AuthProfile? profile,
- String? hashedUserId,
- String? accountType,
Implementation
AuthUserModel copyWith({
AuthToken? authToken,
AuthProfile? profile,
String? hashedUserId,
String? accountType,
}) {
return AuthUserModel(
authToken: authToken ?? this.authToken,
profile: profile ?? this.profile,
hashedUserId: hashedUserId ?? this.hashedUserId,
accountType: accountType ?? this.accountType,
);
}