Rule class

A description of a suffix rule.

Constructors

Rule(String rule, {bool isIcann = true})

Properties

hashCode int
The hash code for this object.
no setteroverride
isException bool
If the rule is an exception rule (preceded by a ! in the original suffix list).
final
isIcann bool
If the rule is an ICANN/IANA rule.
final
labels String
The labels making up the rule. For example, *.uk.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator <(Rule other) bool
operator <=(Rule other) bool
operator ==(Object other) bool
The equality operator.
override
operator >(Rule other) bool
operator >=(Rule other) bool