From e79abeb1e17e2c924d070e8f55f8f2a4c836d9c5 Mon Sep 17 00:00:00 2001 From: Patrick Chrestin Date: Fri, 13 Dec 2024 18:42:03 +0100 Subject: [PATCH] Getting rid of static analysis warning on pub.dev --- lib/get_it_impl.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/get_it_impl.dart b/lib/get_it_impl.dart index e8494f5..a63b6da 100644 --- a/lib/get_it_impl.dart +++ b/lib/get_it_impl.dart @@ -361,8 +361,6 @@ class _ServiceFactory { }); return pendingResult! as Future; } - default: - throw StateError('Impossible factoryType'); } } catch (e, s) { _debugOutput('Error while creating $T}');