resolveAll method

Iterable<RoutingResult<T>> resolveAll(
  1. String absolute,
  2. String relative, {
  3. String method = 'GET',
  4. bool strip = true,
})

Finds every possible Route that matches the given path, with the given method.

Implementation

Iterable<RoutingResult<T>> resolveAll(String absolute, String relative,
    {String method = 'GET', bool strip = true}) {
  if (_useCache == true) {
    return _cache.putIfAbsent('$method$absolute',
        () => _resolveAll(absolute, relative, method: method, strip: strip));
  }

  return _resolveAll(absolute, relative, method: method, strip: strip);
}