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
Jermaine McFarlane
2021-07-21 22:42:08 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3d3ab679ef5a6e77bca7cfee309fb7cc6e3d0edc
3d3ab679
1 parent
75dcf95d
remove unnecessary cast
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
lib/get_instance/src/extension_instance.dart
lib/get_instance/src/extension_instance.dart
View file @
3d3ab67
...
...
@@ -136,8 +136,7 @@ extension Inst on GetInterface {
final
info
=
GetInstance
().
getInstanceInfo
<
P
>(
tag:
tag
);
final
permanent
=
(
info
.
isPermanent
??
false
);
delete
<
P
>(
tag:
tag
,
force:
permanent
);
// ignore: unnecessary_cast
put
(
child
as
P
,
tag:
tag
,
permanent:
permanent
);
put
(
child
,
tag:
tag
,
permanent:
permanent
);
}
/// Replaces a parent instance with a new Instance<P> lazily from the
...
...
Please
register
or
login
to post a comment