toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var features = this.features;

  final json = <String, Object?>{};
  json[r'features'] = features.map((i) => i.toJson()).toList();
  return json;
}