copyWith method
ConstData
copyWith({
- List<
OcrMrzDocumentType> ? documentType, - List<
OcrMrzDocumentDetailType> ? documentDetailType, - List<
OcrMrzDocumentCode> ? documentCode, - List<
DocumentAirport> ? city, - List<
DocumentCountry> ? country, - 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,
);