UriPathOption constructor

UriPathOption(
  1. String value
)

Implementation

UriPathOption(final String value) : super(OptionType.uriPath, value) {
  if (value == '.' || value == '..') {
    throw ArgumentError.value(
      value,
      'UriPathOption',
      'The value of a Uri-Path Option must not be "." or ".."',
    );
  }
}