toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'getRemoteFile',
if (extra != null) '@extra': extra,
'remote_file_id': remote_file_id,
'file_type': file_type
};
}