fromJson static method

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

Creates a object from a json

Implementation

static 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']!,
  );
}