NetworkStatisticsEntryFile.fromJson constructor
Parses a NetworkStatisticsEntryFile from TDLib JSON.
Implementation
factory NetworkStatisticsEntryFile.fromJson(Map<String, dynamic> json) =>
NetworkStatisticsEntryFile(
fileType: _readOptional(json['file_type'], FileType.fromJson),
networkType: _readObject(json['network_type'], NetworkType.fromJson),
sentBytes: _readInt(json['sent_bytes']),
receivedBytes: _readInt(json['received_bytes']),
);