Href class

Represents an HREF, optionally relative to another one.

This is used to normalize the string representation.

Constructors

Href(String href, {String baseHref = '/'})

Properties

baseHref → String
final
hashCode → int
The hash code for this object.
no setterinherited
href → String
final
percentEncodedString → String
Returns the normalized string representation for this HREF, encoded for URL uses.
no setter
queryParameters → List<QueryParameter>
Returns the query parameters present in this HREF, in the order they appear.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
string → String
Returns the normalized string representation for this HREF.
no setter

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