You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled exception:
type 'List<dynamic>' is not a subtype of type 'List<Map<String, dynamic>>' in type cast
#0 Issue.fromJSON (... pub.dartlang.org/github-4.0.0/lib/src/common/model/issues.dart:64:34)
#1 GitHub.getJSON (... pub.dartlang.org/github-4.0.0/lib/src/common/github.dart:226:32)
<asynchronous suspension>
#2 IssuesService.get (file:///usr/local/google/home/hansmuller/.pub-cache/hosted/pub.dartlang.org/github-4.0.0/lib/src/common/issues_service.dart:141:15)
#3 main.<anonymous closure> (package:issues/main.dart:9:19)
I tried the app with Dart VM version: 2.0.0-dev.36.0 since the package claims to support that version.
NoSuchMethodError: Attempted to use type 'IOClient' as a function. Since types do not define a method 'call', this is not possible. Did you intend to call the IOClient constructor and forget the 'new' operator?
Receiver: IOClient
Tried calling: IOClient()
#0 Object.noSuchMethod (dart:core-patch/dart:core/object_patch.dart:46)
#1 createClient (package:http/src/io_client.dart:16:38)
#2 new Client (package:http/src/client.dart:35:23)
#3 new GitHub (package:github/src/common/github.dart:48:44)
#4 createGitHubClient (package:github/server.dart:20:14)
#5 main (file:///usr/local/google/home/hansmuller/issues/lib/main.dart:6:19)
The text was updated successfully, but these errors were encountered:
The following app fails with 4.0.0 of the github package and the 2.1.0-dev.9.4 version of Dart used by the flutter project:
Here's the swan song:
I tried the app with
Dart VM version: 2.0.0-dev.36.0
since the package claims to support that version.The text was updated successfully, but these errors were encountered: