PassportFile.fromJson constructor

PassportFile.fromJson(
  1. Map<String, dynamic> json
)

Creates a PassportFile object from JSON object

Implementation

factory PassportFile.fromJson(Map<String, dynamic> json) {
  return PassportFile(
    fileId: json['file_id']!,
    fileUniqueId: json['file_unique_id']!,
    fileSize: json['file_size']!,
    fileDate: json['file_date']!,
  );
}