DVEarlyHintLink class

One Link header from a 103 Early Hints response.

Constructors

DVEarlyHintLink({required String uri, required String rel, String? asType, Map<String, String> parameters = const <String, String>{}})
const

Properties

asType → String?
The as parameter, when present: script, style, font, image.
final
hashCode → int
The hash code for this object.
no setterinherited
parameters → Map<String, String>
Remaining parameters, lowercased keys, quotes stripped.
final
rel → String
The rel parameter — preload, preconnect, modulepreload.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → String
The linked URL, as written by the server. Relative references are kept verbatim; resolving them needs the request URL, which a link does not carry.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited