Updated route

This commit is contained in:
thomashii@dukefirehawk.com 2023-05-21 08:13:59 +08:00
parent 1f0e61958f
commit 9626cc93a4
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ class MiddlewarePipeline<T> {
}
/// Iterates through a [MiddlewarePipeline].
class MiddlewarePipelineIterator<T> extends Iterator<RoutingResult<T>> {
class MiddlewarePipelineIterator<T> implements Iterator<RoutingResult<T>> {
final MiddlewarePipeline<T> pipeline;
final Iterator<RoutingResult<T>> _inner;

View file

@ -1,5 +1,5 @@
/// Represents an error in route configuration or navigation.
abstract class RoutingException extends Exception {
abstract class RoutingException implements Exception {
factory RoutingException(String message) => _RoutingExceptionImpl(message);
/// Occurs when trying to resolve the parent of a [Route] without a parent.