Venue.fromJson constructor

Venue.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory Venue.fromJson(Map<String, dynamic> json) => Venue(
      location: Location.fromJson(json['location']),
      title: json['title'],
      address: json['address'],
      provider: json['provider'],
      id: json['id'],
      type: json['type'],
    );