removeLocationQuery method

void removeLocationQuery(
  1. String query
)
inherited

Remove a location query

Implementation

void removeLocationQuery(final String query) {
  final opts = _optionMap[OptionType.locationQuery];
  opts?.removeWhere((final o) => o.stringValue == query);
  if (opts != null && opts.isEmpty) {
    _optionMap.remove(OptionType.locationQuery);
  }
}