From 9626cc93a45cc43270c74e34e54de552216c0a2f Mon Sep 17 00:00:00 2001 From: "thomashii@dukefirehawk.com" Date: Sun, 21 May 2023 08:13:59 +0800 Subject: [PATCH] Updated route --- packages/route/lib/src/middleware_pipeline.dart | 2 +- packages/route/lib/src/routing_exception.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/route/lib/src/middleware_pipeline.dart b/packages/route/lib/src/middleware_pipeline.dart index beccba7d..97da1a33 100644 --- a/packages/route/lib/src/middleware_pipeline.dart +++ b/packages/route/lib/src/middleware_pipeline.dart @@ -35,7 +35,7 @@ class MiddlewarePipeline { } /// Iterates through a [MiddlewarePipeline]. -class MiddlewarePipelineIterator extends Iterator> { +class MiddlewarePipelineIterator implements Iterator> { final MiddlewarePipeline pipeline; final Iterator> _inner; diff --git a/packages/route/lib/src/routing_exception.dart b/packages/route/lib/src/routing_exception.dart index bceb6cb5..4dd9b756 100644 --- a/packages/route/lib/src/routing_exception.dart +++ b/packages/route/lib/src/routing_exception.dart @@ -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.