files method
Implementation
Map<String, Uint8List> files() {
final files = <String, Uint8List>{};
if (photoIdFront != null) {
files['photo_id_front'] = photoIdFront!;
}
if (photoIdBack != null) {
files['photo_id_back'] = photoIdBack!;
}
if (notaryApprovalOfPhotoId != null) {
files['notary_approval_of_photo_id'] = notaryApprovalOfPhotoId!;
}
if (photoProofResidence != null) {
files['photo_proof_residence'] = photoProofResidence!;
}
if (proofOfLiveness != null) {
files['proof_of_liveness'] = proofOfLiveness!;
}
return files;
}