GoogleMapsPlacesV1Photo.fromJson constructor
GoogleMapsPlacesV1Photo.fromJson(
- Map json_
Implementation
GoogleMapsPlacesV1Photo.fromJson(core.Map json_)
: this(
authorAttributions: json_.containsKey('authorAttributions')
? (json_['authorAttributions'] as core.List)
.map((value) => GoogleMapsPlacesV1AuthorAttribution.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
heightPx: json_.containsKey('heightPx')
? json_['heightPx'] as core.int
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
widthPx: json_.containsKey('widthPx')
? json_['widthPx'] as core.int
: null,
);