toMap method

dynamic toMap()

Implementation

toMap() {
  Map<String, Object> result = {};
  if (text != null) {
    result["text"] = text!;
  }
  if (poiCategoryIdentifier != null) {
    result["poiCategoryIdentifier"] = poiCategoryIdentifier!;
  }

  return result;
}