Showing
1 changed file
with
1 additions
and
1 deletions
@@ -692,7 +692,7 @@ class Get { | @@ -692,7 +692,7 @@ class Get { | ||
692 | 692 | ||
693 | /// Find a instance from required class | 693 | /// Find a instance from required class |
694 | static S find<S>({String name, _FcBuilderFunc<S> instance}) { | 694 | static S find<S>({String name, _FcBuilderFunc<S> instance}) { |
695 | - if (Get.isRegistred<S>()) { | 695 | + if (Get.isRegistred<S>(name: name)) { |
696 | String key = _getKey(S, name); | 696 | String key = _getKey(S, name); |
697 | _FcBuilder builder = Get()._singl[key]; | 697 | _FcBuilder builder = Get()._singl[key]; |
698 | if (builder == null) { | 698 | if (builder == null) { |
-
Please register or login to post a comment