copyWith method

EncryptedPassportElement copyWith({
  1. PassportElementType? type,
  2. String? data,
  3. DatedFile? frontSide,
  4. DatedFile? reverseSide,
  5. DatedFile? selfie,
  6. List<DatedFile>? translation,
  7. List<DatedFile>? files,
  8. String? value,
  9. String? hash,
})

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,
);