Showing
1 changed file
with
5 additions
and
0 deletions
@@ -107,6 +107,11 @@ extension Inst on GetInterface { | @@ -107,6 +107,11 @@ extension Inst on GetInterface { | ||
107 | Future<bool> delete<S>({String? tag, bool force = false}) async => | 107 | Future<bool> delete<S>({String? tag, bool force = false}) async => |
108 | GetInstance().delete<S>(tag: tag, force: force); | 108 | GetInstance().delete<S>(tag: tag, force: force); |
109 | 109 | ||
110 | + void reloadAll({bool force = false}) => GetInstance().reloadAll(force: force); | ||
111 | + | ||
112 | + void reload<S>({String? tag, String? key, bool force = false}) => | ||
113 | + GetInstance().reload<S>(tag: tag, key: key, force: force); | ||
114 | + | ||
110 | /// Checks if a Class Instance<[S]> (or [tag]) is registered in memory. | 115 | /// Checks if a Class Instance<[S]> (or [tag]) is registered in memory. |
111 | /// - [tag] optional, if you use a [tag] to register the Instance. | 116 | /// - [tag] optional, if you use a [tag] to register the Instance. |
112 | bool isRegistered<S>({String? tag}) => | 117 | bool isRegistered<S>({String? tag}) => |
-
Please register or login to post a comment