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
Daniel Rocha
2020-05-22 23:11:54 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9ee043d47d57d146ec070654bb693ca48e0b300e
9ee043d4
1 parent
e49bce31
Fix isRegistered 'name' param
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/src/get_main.dart
lib/src/get_main.dart
View file @
9ee043d
...
...
@@ -692,7 +692,7 @@ class Get {
/// Find a instance from required class
static
S
find
<
S
>({
String
name
,
_FcBuilderFunc
<
S
>
instance
})
{
if
(
Get
.
isRegistred
<
S
>())
{
if
(
Get
.
isRegistred
<
S
>(
name:
name
))
{
String
key
=
_getKey
(
S
,
name
);
_FcBuilder
builder
=
Get
().
_singl
[
key
];
if
(
builder
==
null
)
{
...
...
Please
register
or
login
to post a comment