copyWith method

  1. @override
AuthenticationCodeTypeMissedCall copyWith({
  1. String? phoneNumberPrefix,
  2. 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
AuthenticationCodeTypeMissedCall copyWith({
  String? phoneNumberPrefix,
  int? length,
}) =>
    AuthenticationCodeTypeMissedCall(
      phoneNumberPrefix: phoneNumberPrefix ?? this.phoneNumberPrefix,
      length: length ?? this.length,
    );