copyWith method Null safety
- {FormzStatus? status,
- StudentCode? studentCode,
- Password? password,
- SignInFailure? error}
Implementation
SignInState copyWith({
FormzStatus? status,
StudentCode? studentCode,
Password? password,
SignInFailure? error,
}) {
return SignInState(
status: status ?? this.status,
studentCode: studentCode ?? this.studentCode,
password: password ?? this.password,
error: error,
);
}