LocationPathOption constructor

LocationPathOption(
  1. String value
)

Implementation

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