Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
lkloon123
2021-04-01 22:35:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e3df24d64d3f99808b623931d0fc48a49af653b5
e3df24d6
1 parent
778d80b7
Add missing reload() and reloadAll()
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
lib/get_instance/src/extension_instance.dart
lib/get_instance/src/extension_instance.dart
View file @
e3df24d
...
...
@@ -107,6 +107,11 @@ extension Inst on GetInterface {
Future
<
bool
>
delete
<
S
>({
String
?
tag
,
bool
force
=
false
})
async
=>
GetInstance
().
delete
<
S
>(
tag:
tag
,
force:
force
);
void
reloadAll
({
bool
force
=
false
})
=>
GetInstance
().
reloadAll
(
force:
force
);
void
reload
<
S
>({
String
?
tag
,
String
?
key
,
bool
force
=
false
})
=>
GetInstance
().
reload
<
S
>(
tag:
tag
,
key:
key
,
force:
force
);
/// Checks if a Class Instance<[S]> (or [tag]) is registered in memory.
/// - [tag] optional, if you use a [tag] to register the Instance.
bool
isRegistered
<
S
>({
String
?
tag
})
=>
...
...
Please
register
or
login
to post a comment