files method

Map<String, Uint8List> files()

Implementation

Map<String, Uint8List> files() {
  final files = <String, Uint8List>{};
  if (photoIdFront != null) {
    files[photo_id_front_file_key] = photoIdFront!;
  }
  if (photoIdBack != null) {
    files[photo_id_back_file_key] = photoIdBack!;
  }
  if (notaryApprovalOfPhotoId != null) {
    files[notary_approval_of_photo_id_file_key] = notaryApprovalOfPhotoId!;
  }
  if (photoProofResidence != null) {
    files[photo_proof_residence_file_key] = photoProofResidence!;
  }
  if (proofOfIncome != null) {
    files[proof_of_income_file_key] = proofOfIncome!;
  }
  if (proofOfLiveness != null) {
    files[proof_of_liveness_file_key] = proofOfLiveness!;
  }
  return files;
}