toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'remoteFile',
if (extra != null) '@extra': extra,
'id': id,
'unique_id': unique_id,
'is_uploading_active': is_uploading_active,
'is_uploading_completed': is_uploading_completed,
'uploaded_size': uploaded_size
};
}