Rule class

A single rule (either Allow or Disallow) inside a robots.txt file.

Constructors

Rule({required RegExp pattern, required int precedence})
Instantiates a rule with an pattern and the precedence it has over other rules.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
pattern RegExp
A regular expression matching to a particular path.
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