toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "type": type,
      // "query": List<dynamic>.from(query.map((x) => x)),
      "features": List<dynamic>.from(features.map((x) => x.toJson())),
      "attribution": attribution,
    };