RobotsDirective class

Standard robots directive values and custom builders.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Static Methods

custom({bool index = true, bool follow = true, bool noarchive = false, bool nosnippet = false, bool noimageindex = false, int? maxSnippet, String? maxImagePreview, int? maxVideoPreview}) → String
Generates a customized robots directive string.

Constants

indexFollow → const String
indexNofollow → const String
noarchive → const String
noimageindex → const String
noindexFollow → const String
noindexNofollow → const String
nosnippet → const String