copyWith method
Implementation
EncryptedPassportElement copyWith({
PassportElementType? type,
String? data,
DatedFile? frontSide,
DatedFile? reverseSide,
DatedFile? selfie,
List<DatedFile>? translation,
List<DatedFile>? files,
String? value,
String? hash,
}) => EncryptedPassportElement(
type: type ?? this.type,
data: data ?? this.data,
frontSide: frontSide ?? this.frontSide,
reverseSide: reverseSide ?? this.reverseSide,
selfie: selfie ?? this.selfie,
translation: translation ?? this.translation,
files: files ?? this.files,
value: value ?? this.value,
hash: hash ?? this.hash,
);