Ruleset class
A collection of Rule
s applicable to a particular userAgent.
Constructors
Properties
-
allows
→ List<
Rule> -
List of
Rule
s which state that a path may be traversed.final - appliesToAll → bool
-
Whether this ruleset applies to all user-agents.
final
- crawlDelaySeconds → int?
-
The number of seconds of delay that crawlers should add in-between
accesses.
final
-
disallows
→ List<
Rule> -
List of
Rule
s which state that a path may not be traversed.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userAgent → String
-
The user-agent which this ruleset applies to.
final
Methods
-
appliesTo(
String userAgent) → bool -
Checks whether this ruleset applies to
userAgent
. -
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