copyWith method

AuthModule copyWith({
  1. PhoneNumberModule? phone,
  2. String? password,
})

Implementation

AuthModule copyWith({
  PhoneNumberModule? phone,
  String? password,
}) {
  return AuthModule(
    phone: phone ?? this.phone,
    password: password ?? this.password,
  );
}