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
This happens when using the webhook API and receiving a POST request from a GitHub webhook.
Cause: type 'String' is not a subtype of type 'Map<String, dynamic>' in type cast
#0 _$RepositoryFromJson (package:github/src/common/model/repos.g.dart:129:48)
#1 new Repository.fromJson (package:github/src/common/model/repos.dart:454:7)
Activity
github-actions commentedon Aug 11, 2023
👋 Thanks for reporting! @robrbecker will take a look.
jimmyshiau commentedon Jun 5, 2025
github.dart/lib/src/common/model/repos.g.dart
Lines 127 to 129 in a308168
[-]Error occurred in Repository.fromJson()[/-][+]Cast error at Repository.fromJson()[/+]