DocumentLink class final

One link declaration in the document head.

Constructors

DocumentLink({required String rel, required String href, String? hreflang, String? media, String? type, String? as, String? crossorigin})
Creates a link declaration.
const

Properties

as → String?
The preload destination.
final
crossorigin → String?
The cross-origin mode.
final
hashCode → int
The hash code for this object.
no setterinherited
href → String
The linked location.
final
hreflang → String?
The alternate language, when relevant.
final
identity → String
Stable merge identity for this link relationship and target.
no setter
media → String?
The target media query.
final
rel → String
The link relationship.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String?
The linked resource MIME type.
final

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