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
the_ghoost
2020-07-20 07:21:35 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a7f23cb2c1e76a717cb6385988d2fcc3620346ed
a7f23cb2
1 parent
09754eca
replace apiModel with null
arror apear when no connexion in the example
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
example/lib/home/data/home_provider.dart
example/lib/home/data/home_provider.dart
View file @
a7f23cb
...
...
@@ -8,7 +8,7 @@ class HomeProvider {
return
ApiModel
.
fromJson
(
response
.
data
);
}
catch
(
e
)
{
print
(
e
.
toString
());
return
ApiModel
()
;
return
null
;
}
}
}
...
...
Please
register
or
login
to post a comment