UriParameter class
Parameter that contain an URI like ALTREP
Constructors
- UriParameter(String name, String textValue)
- Creates a new UriParameter
- UriParameter.value(String name, Uri value)
- Creates a new UriParameter
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
the name of this parameter
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textValue → String
-
the unparsed text value of this parameter
finalinherited
- uri → Uri
-
Retrieves the value as Uri
no setter
- value → Uri
-
The parsed value
finalinherited
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
-
create(
String name, Uri? value) → UriParameter? -
Creates a new UriParameter when the
value
is not null -
parse(
String textValue) → Uri -
Parses the given
textValue
as an URIoverride