toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'bad07584',
'\$name': 'InputDocumentFileLocation',
'id': id,
'accessHash': accessHash,
'fileReference': fileReference,
'thumbSize': thumbSize,
};
// Finished toJson.
return returnValue;
}