copyWith method

PassportElementsWithErrors copyWith({
  1. List<PassportElement>? elements,
  2. List<PassportElementError>? errors,
  3. dynamic extra,
  4. 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,
);