NetworkFileModel.fromJson constructor
Constructs a NetworkFileModel object from a JSON representation.
Implementation
factory NetworkFileModel.fromJson(Map<String, dynamic> json) =>
NetworkFileModel(
id: json["id"],
url: json["url"],
fileName: json["file_name"],
extensionFile: json["extension"],
size: double.parse('${json['size'] ?? 0}'),
);