SuffixRules class
A Dart-representation of a list of public suffix rules.
Rules are parsed from either a string or a list and can then be accessed using rules or ruleMap.
Constructors
-
SuffixRules.fromList(List<
String> ? rules) - Creates a new rule list from a list of rule strings.
-
SuffixRules.fromRules(List<
Rule> ? rules) - Creates a new rule list from a list of Rules.
- SuffixRules.fromString(String? rules)
- Creates a new rule list from a multi-rule string.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ruleMap
→ Map<
String, Iterable< Rule> > -
Returns an unmodifiable map containing the current rules.
no setter
-
rules
→ List<
Rule> -
Returns an unmodifiable list containing the current rules in the original order.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hasRules(
) → bool - Checks whether or not at least this object contains at least one rule.
-
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