toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'pointList': pointList
          ?.map((List<LatLng> v) => v.map((LatLng e) => e.toMap()).toList())
          .toList(),
      'center': center?.toMap(),
      'poiItem': poiItem?.toMap(),
      'type': type,
      'radius': radius,
      'customID': customID,
      'fenceID': fenceID,
      'status': status
    };