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