toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'adName': adName,
      'address': address,
      'poiName': poiName,
      'city': city,
      'poiType': poiType,
      'latLng': latLng?.toMap(),
      'poiId': poiId
    };