values property

List<String>? get values

If specified, this condition matches if the header's value matches at least one pattern in this list. This supports case-insensitive header value matching plus the following constructs:

'*' : Matches any number of characters.

'?' : Matches zero or one character(s).

'*' and '?' can be escaped with a backslash, e.g. '*' and '?'

Implementation

List<String>? get values =>
    _wrapped.values?.toDart.cast<JSString>().map((e) => e.toDart).toList();
set values (List<String>? v)

Implementation

set values(List<String>? v) {
  _wrapped.values = v?.toJSArray((e) => e.toJS);
}