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
I want to get some information about gists, but I'm getting type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>?' in type cast Exception.
Unhandled exception:
type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>?' in type cast
#0 _$GistFromJson (package:github/src/common/model/gists.g.dart:19:29)
#1 new Gist.fromJson (package:github/src/common/model/gists.dart:49:56)
#2 GistsService.getGist.<anonymous closure> (package:github/src/common/gists_service.dart:50:64)
#3 GitHub.requestJson (package:github/src/common/github.dart:323:34)
<asynchronous suspension>
#4 main (package:my_app/singleton.dart:12:14)
<asynchronous suspension>
Process finished with exit code 255
The text was updated successfully, but these errors were encountered:
So, I have a fix for this, but it will be a breaking change (to be released in 9.0.0). So, I'm going to get a couple other things merged in and then cut a release.
I want to get some information about gists, but I'm getting
type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>?' in type cast
Exception.To reproduce:
this is the error:
The text was updated successfully, but these errors were encountered: