copyWith method

  1. @override
EmailAddressAuthenticationCode copyWith({
  1. String? code,
})
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
EmailAddressAuthenticationCode copyWith({String? code}) =>
    EmailAddressAuthenticationCode(code: code ?? this.code);