Query$GetLastCommits$repository$object.fromJson constructor

  1. @override
Query$GetLastCommits$repository$object.fromJson(
  1. Map<String, dynamic> json
)

Implementation

@override
factory Query$GetLastCommits$repository$object.fromJson(
    Map<String, dynamic> json) {
  switch (json["__typename"] as String) {
    case "Commit":
      return Query$GetLastCommits$repository$object$$Commit.fromJson(json);
    default:
      return _$Query$GetLastCommits$repository$objectFromJson(json);
  }
}