Query$getPredictions$getPredictions$h2h.fromJson constructor
Query$getPredictions$getPredictions$h2h.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Query$getPredictions$getPredictions$h2h.fromJson(
Map<String, dynamic> json) {
final l$fixture = json['fixture'];
final l$league = json['league'];
final l$teams = json['teams'];
final l$goals = json['goals'];
final l$score = json['score'];
final l$$__typename = json['__typename'];
return Query$getPredictions$getPredictions$h2h(
fixture: l$fixture == null
? null
: Query$getPredictions$getPredictions$h2h$fixture.fromJson(
(l$fixture as Map<String, dynamic>)),
league: l$league == null
? null
: Query$getPredictions$getPredictions$h2h$league.fromJson(
(l$league as Map<String, dynamic>)),
teams: l$teams == null
? null
: Query$getPredictions$getPredictions$h2h$teams.fromJson(
(l$teams as Map<String, dynamic>)),
goals: l$goals == null
? null
: Query$getPredictions$getPredictions$h2h$goals.fromJson(
(l$goals as Map<String, dynamic>)),
score: l$score == null
? null
: Query$getPredictions$getPredictions$h2h$score.fromJson(
(l$score as Map<String, dynamic>)),
$__typename: (l$$__typename as String),
);
}