Link class
Constructors
- Link.parse(Map json)
-
factory
Properties
- hash → String?
-
SHA-256 hash of the resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- href → String
-
final
- length → int?
-
Content length in octets.
final
- mediaType → MediaType
-
no setter
- profile → Uri?
-
Expected profile used to identify the external resource. (URI)
final
-
rel
→ List<
String> -
Indicates the relationship between the resource and its containing collection.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- templated → bool
-
Indicates that the linked resource is a URI template.
final
-
templateParameters
→ List<
String> -
List of URI template parameter keys, if the Link is templated.
no setter
- title → String?
-
Title for the Link.
final
- type → String?
-
MIME type of resource.
final
- url → Uri
-
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.
override
-
urlWithParams(
{Map< String, String?> parameters = const {}}) → Uri
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited