fromJson static method
Returns a new PlaceLinks instance and imports its values from
json
if it's non-null, null if json
is null.
Implementation
static PlaceLinks? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return PlaceLinks(
children: PlaceLinksChildren.fromJson(json[r'children']),
geo: PlaceLinksGeo.fromJson(json[r'geo']),
organization: PlaceLinksOrganization.fromJson(json[r'organization']),
plans: PlaceLinksPlans.fromJson(json[r'plans']),
self: PlaceLinksSelf.fromJson(json[r'self']),
);
}