copyWith method
AuthenticationCodeTypeFirebaseAndroid
copyWith({
- FirebaseDeviceVerificationParameters? deviceVerificationParameters,
- int? length,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
AuthenticationCodeTypeFirebaseAndroid copyWith({
FirebaseDeviceVerificationParameters? deviceVerificationParameters,
int? length,
}) => AuthenticationCodeTypeFirebaseAndroid(
deviceVerificationParameters:
deviceVerificationParameters ?? this.deviceVerificationParameters,
length: length ?? this.length,
);