copyWith method

TemporaryPasswordState copyWith({
  1. bool? hasPassword,
  2. int? validFor,
})

Implementation

TemporaryPasswordState copyWith({bool? hasPassword, int? validFor}) =>
    TemporaryPasswordState(
      hasPassword: hasPassword ?? this.hasPassword,
      validFor: validFor ?? this.validFor,
    );