toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'venue',
if (extra != null) '@extra': extra,
'location': location,
'title': title,
'address': address,
'provider': provider,
'id': id,
'type': type
};
}