Place.fromJson constructor

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

Implementation

Place.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  href = json['href'];
  name = json['name'];
  role = json['role'];
  baseType = json['@baseType'];
  schemaLocation = json['@schemaLocation'];
  type = json['@type'];
  referredType = json['@referredType'];
  relatedLocation = json['relatedLocation'];
  meta = json['meta'] != null ? new Meta.fromJson(json['meta']) : null;
}