Fix flutter analyze

Proper type checking is awesome.
This commit is contained in:
Vishesh Handa
2019-06-02 17:20:40 +02:00
parent f3b73df119
commit e389829e2c

View File

@ -20,8 +20,12 @@ class OAuthAppState extends State<OAuthApp> {
super.initState();
githost = createGitHost(GitHostType.GitHub);
githost.init(() {
githost.init((GitHostException e) {
if (e != null) {
print("Got exeception: $e");
} else {
print("GitHost initialized and has access code");
}
});
}