parse method

Future<Destination<T>> parse(
  1. String uri
)

Parses the destination from the provided URI string.

Returns a copy of the current destination with updated parameters, parsed from the URI. If the URI doesn't match this destination, throws an DestinationNotMatchException.

Implementation

Future<Destination<T>> parse(String uri) =>
    parser.parseParameters(uri, this) as Future<Destination<T>>;