StringMatch class

Describes how to match a given string in HTTP headers. Match is case-sensitive.

Constructors

StringMatch({String? exact, String? prefix, String? regex})
The main constructor.
const
StringMatch.fromJson(Map<String, dynamic> json)
Creates a StringMatch from JSON data.

Properties

exact String?
exact string match.
final
hashCode int
The hash code for this object.
no setterinherited
prefix String?
prefix-based match.
final
regex String?
RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited