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