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