fromJson static method
Implementation
static Venue? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return Venue(
location: Location.fromJson(tdMapFromJson(json['location'])),
title: (json['title'] as String?) ?? '',
address: (json['address'] as String?) ?? '',
provider: (json['provider'] as String?) ?? '',
id: (json['id'] as String?) ?? '',
type: (json['type'] as String?) ?? '',
);
}