UriTemplate class

A lightweight implementation of URI Template (RFC 6570).

Only handles simple cases, fitting Readium's use cases. See https://tools.ietf.org/html/rfc6570

Constructors

UriTemplate(String uri)

Properties

hashCode int
The hash code for this object.
no setterinherited
parameters Iterable<String>
List of URI template parameter keys, if the Link is templated.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String
final

Methods

expand(Map<String, String> parameters) String
Expands the HREF by replacing URI template variables by the given parameters.
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