EncryptedPassportElement constructor

const EncryptedPassportElement({
  1. required PassportType type,
  2. String? data,
  3. String? phoneNumber,
  4. String? email,
  5. List<PassportFile>? files,
  6. PassportFile? frontSide,
  7. PassportFile? reverseSide,
  8. PassportFile? selfie,
  9. List<PassportFile>? translation,
  10. required String hash,
})

Creates a new EncryptedPassportElement object.

Implementation

const EncryptedPassportElement({
  required this.type,
  this.data,
  this.phoneNumber,
  this.email,
  this.files,
  this.frontSide,
  this.reverseSide,
  this.selfie,
  this.translation,
  required this.hash,
});