BuildingInsights.fromJson constructor
BuildingInsights.fromJson(
- Map json_
Implementation
BuildingInsights.fromJson(core.Map json_)
: this(
administrativeArea: json_.containsKey('administrativeArea')
? json_['administrativeArea'] as core.String
: null,
boundingBox: json_.containsKey('boundingBox')
? LatLngBox.fromJson(
json_['boundingBox'] as core.Map<core.String, core.dynamic>)
: null,
center: json_.containsKey('center')
? LatLng.fromJson(
json_['center'] as core.Map<core.String, core.dynamic>)
: null,
imageryDate: json_.containsKey('imageryDate')
? Date.fromJson(
json_['imageryDate'] as core.Map<core.String, core.dynamic>)
: null,
imageryProcessedDate: json_.containsKey('imageryProcessedDate')
? Date.fromJson(json_['imageryProcessedDate']
as core.Map<core.String, core.dynamic>)
: null,
imageryQuality: json_.containsKey('imageryQuality')
? json_['imageryQuality'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
postalCode: json_.containsKey('postalCode')
? json_['postalCode'] as core.String
: null,
regionCode: json_.containsKey('regionCode')
? json_['regionCode'] as core.String
: null,
solarPotential: json_.containsKey('solarPotential')
? SolarPotential.fromJson(json_['solarPotential']
as core.Map<core.String, core.dynamic>)
: null,
statisticalArea: json_.containsKey('statisticalArea')
? json_['statisticalArea'] as core.String
: null,
);