removeUriPath method

void removeUriPath(
  1. String path
)
inherited

Remove a URI path

Implementation

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