fromJson static method

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

Creates a object from a json

Implementation

static File fromJson(Map<String, dynamic> json) {
  return File(
    fileId: json['file_id']!,
    fileUniqueId: json['file_unique_id']!,
    fileSize: json['file_size'],
    filePath: json['file_path'],
  );
}