SizeAndSunshineStats.fromJson constructor
SizeAndSunshineStats.fromJson(
- Map json_
Implementation
SizeAndSunshineStats.fromJson(core.Map json_)
: this(
areaMeters2: (json_['areaMeters2'] as core.num?)?.toDouble(),
groundAreaMeters2: (json_['groundAreaMeters2'] as core.num?)
?.toDouble(),
sunshineQuantiles: (json_['sunshineQuantiles'] as core.List?)
?.map((value) => (value as core.num).toDouble())
.toList(),
);