Query$getPredictions$getPredictions$teams$away$last_5.fromJson constructor
Query$getPredictions$getPredictions$teams$away$last_5.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Query$getPredictions$getPredictions$teams$away$last_5.fromJson(
Map<String, dynamic> json) {
final l$form = json['form'];
final l$att = json['att'];
final l$def = json['def'];
final l$goals = json['goals'];
final l$$__typename = json['__typename'];
return Query$getPredictions$getPredictions$teams$away$last_5(
form: (l$form as String?),
att: (l$att as String?),
def: (l$def as String?),
goals: l$goals == null
? null
: Query$getPredictions$getPredictions$teams$away$last_5$goals
.fromJson((l$goals as Map<String, dynamic>)),
$__typename: (l$$__typename as String),
);
}