copyWith method
PassportElementsWithErrors
copyWith({
- List<
PassportElement> ? elements, - List<
PassportElementError> ? errors, - dynamic extra,
- int? clientId,
Implementation
PassportElementsWithErrors copyWith({
List<PassportElement>? elements,
List<PassportElementError>? errors,
dynamic extra,
int? clientId,
}) => PassportElementsWithErrors(
elements: elements ?? this.elements,
errors: errors ?? this.errors,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);