DataLayers.fromJson constructor
DataLayers.fromJson(
- Map json_
Implementation
DataLayers.fromJson(core.Map json_)
: this(
annualFluxUrl: json_.containsKey('annualFluxUrl')
? json_['annualFluxUrl'] as core.String
: null,
dsmUrl: json_.containsKey('dsmUrl')
? json_['dsmUrl'] as core.String
: null,
hourlyShadeUrls: json_.containsKey('hourlyShadeUrls')
? (json_['hourlyShadeUrls'] as core.List)
.map((value) => value as core.String)
.toList()
: 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,
maskUrl: json_.containsKey('maskUrl')
? json_['maskUrl'] as core.String
: null,
monthlyFluxUrl: json_.containsKey('monthlyFluxUrl')
? json_['monthlyFluxUrl'] as core.String
: null,
rgbUrl: json_.containsKey('rgbUrl')
? json_['rgbUrl'] as core.String
: null,
);