copyWith method

ConstData copyWith({
  1. List<OcrMrzDocumentType>? documentType,
  2. List<OcrMrzDocumentDetailType>? documentDetailType,
  3. List<OcrMrzDocumentCode>? documentCode,
  4. List<DocumentAirport>? city,
  5. List<DocumentCountry>? country,
  6. List<DocumentAirport>? airport,
})

Implementation

ConstData copyWith({
  List<OcrMrzDocumentType>? documentType,
  List<OcrMrzDocumentDetailType>? documentDetailType,
  List<OcrMrzDocumentCode>? documentCode,
  List<DocumentAirport>? city,
  List<DocumentCountry>? country,
  List<DocumentAirport>? airport,
}) => ConstData(
  documentType: documentType ?? this.documentType,
  documentDetailType: documentDetailType ?? this.documentDetailType,
  documentCode: documentCode ?? this.documentCode,
  city: city ?? this.city,
  country: country ?? this.country,
  airport: airport ?? this.airport,
);