RegionFeatureCollection.fromSerialized constructor
RegionFeatureCollection.fromSerialized(
- List data
Restores inner structures from the serialized data.
Implementation
RegionFeatureCollection.fromSerialized(List<dynamic> data) {
regions = data[0];
for (final region in regions) _cacheFeatureByIDs(region);
whichPolygon = WhichPolygon.fromSerialized(data[1]);
}