copyWith method
Implementation
PasswordState copyWith({
bool? hasPassword,
String? passwordHint,
bool? hasRecoveryEmailAddress,
bool? hasPassportData,
EmailAddressAuthenticationCodeInfo? recoveryEmailAddressCodeInfo,
String? loginEmailAddressPattern,
int? pendingResetDate,
dynamic extra,
int? clientId,
}) =>
PasswordState(
hasPassword: hasPassword ?? this.hasPassword,
passwordHint: passwordHint ?? this.passwordHint,
hasRecoveryEmailAddress:
hasRecoveryEmailAddress ?? this.hasRecoveryEmailAddress,
hasPassportData: hasPassportData ?? this.hasPassportData,
recoveryEmailAddressCodeInfo:
recoveryEmailAddressCodeInfo ?? this.recoveryEmailAddressCodeInfo,
loginEmailAddressPattern:
loginEmailAddressPattern ?? this.loginEmailAddressPattern,
pendingResetDate: pendingResetDate ?? this.pendingResetDate,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);