removelocationPath method

void removelocationPath(
  1. String path
)
inherited

Remove a location path

Implementation

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