File.fromJson constructor
Parse from a json
Implementation
factory File.fromJson(Map<String, dynamic> json) => File(
id: json['id'],
size: json['size'],
expectedSize: json['expected_size'],
local: LocalFile.fromJson(json['local']),
remote: RemoteFile.fromJson(json['remote']),
extra: json['@extra'],
clientId: json['@client_id'],
);