copyWith method

SetPassword copyWith({
  1. String? oldPassword,
  2. String? newPassword,
  3. String? newHint,
  4. bool? setRecoveryEmailAddress,
  5. String? newRecoveryEmailAddress,
})

Implementation

SetPassword copyWith({
  String? oldPassword,
  String? newPassword,
  String? newHint,
  bool? setRecoveryEmailAddress,
  String? newRecoveryEmailAddress,
}) =>
    SetPassword(
      oldPassword: oldPassword ?? this.oldPassword,
      newPassword: newPassword ?? this.newPassword,
      newHint: newHint ?? this.newHint,
      setRecoveryEmailAddress:
          setRecoveryEmailAddress ?? this.setRecoveryEmailAddress,
      newRecoveryEmailAddress:
          newRecoveryEmailAddress ?? this.newRecoveryEmailAddress,
    );