Converts current object to its JSON representation.
Map<String, dynamic> toJson() { return { 'type': 'FeatureCollection', 'features': features.map((e) => e.toJson()).toList() }; }