toMap method

  1. @override
Map<String, dynamic> toMap()

Implementation

@override
Map<String, dynamic> toMap() {
  var json = <String, dynamic>{
    'properties': _properties,
    'symbologies': _symbologies.map((key, value) => MapEntry(key, value.toMap()))
  };
  if (_scenario != null) {
    json['scenario'] = _scenario.toString();
  }
  return json;
}