GeometryCollection.fromJson constructor
Implementation
factory GeometryCollection.fromJson(Map<String, dynamic> json) =>
GeometryCollection(
bbox: json['bbox'] == null
? null
: BBox.fromJson(
(json['bbox'] as List).map((e) => e as num).toList(),
),
geometries: (json['geometries'] as List?)
?.map((e) => GeometryType.deserialize(e))
.toList() ??
const [],
);