copyWith method
SendPassportAuthorizationForm
copyWith({
- int? authorizationFormId,
- List<
PassportElementType> ? types,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
SendPassportAuthorizationForm copyWith({
int? authorizationFormId,
List<PassportElementType>? types,
}) =>
SendPassportAuthorizationForm(
authorizationFormId: authorizationFormId ?? this.authorizationFormId,
types: types ?? this.types,
);