Query$getPredictions$getPredictions$teams$home$league$cards$red.fromJson constructor

Query$getPredictions$getPredictions$teams$home$league$cards$red.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$getPredictions$getPredictions$teams$home$league$cards$red.fromJson(
    Map<String, dynamic> json) {
  final l$zeroToFifteen = json['zeroToFifteen'];
  final l$sixteenToThirty = json['sixteenToThirty'];
  final l$thirtyoneToFourtyfive = json['thirtyoneToFourtyfive'];
  final l$fourtysixToSixty = json['fourtysixToSixty'];
  final l$fixtyoneToSeventyfive = json['fixtyoneToSeventyfive'];
  final l$seventysixToNinety = json['seventysixToNinety'];
  final l$ninetyoneToHundredfive = json['ninetyoneToHundredfive'];
  final l$hundredsixToHundredtwenty = json['hundredsixToHundredtwenty'];
  final l$$__typename = json['__typename'];
  return Query$getPredictions$getPredictions$teams$home$league$cards$red(
    zeroToFifteen: l$zeroToFifteen == null
        ? null
        : Query$getPredictions$getPredictions$teams$home$league$cards$red$zeroToFifteen
            .fromJson((l$zeroToFifteen as Map<String, dynamic>)),
    sixteenToThirty: l$sixteenToThirty == null
        ? null
        : Query$getPredictions$getPredictions$teams$home$league$cards$red$sixteenToThirty
            .fromJson((l$sixteenToThirty as Map<String, dynamic>)),
    thirtyoneToFourtyfive: l$thirtyoneToFourtyfive == null
        ? null
        : Query$getPredictions$getPredictions$teams$home$league$cards$red$thirtyoneToFourtyfive
            .fromJson((l$thirtyoneToFourtyfive as Map<String, dynamic>)),
    fourtysixToSixty: l$fourtysixToSixty == null
        ? null
        : Query$getPredictions$getPredictions$teams$home$league$cards$red$fourtysixToSixty
            .fromJson((l$fourtysixToSixty as Map<String, dynamic>)),
    fixtyoneToSeventyfive: l$fixtyoneToSeventyfive == null
        ? null
        : Query$getPredictions$getPredictions$teams$home$league$cards$red$fixtyoneToSeventyfive
            .fromJson((l$fixtyoneToSeventyfive as Map<String, dynamic>)),
    seventysixToNinety: l$seventysixToNinety == null
        ? null
        : Query$getPredictions$getPredictions$teams$home$league$cards$red$seventysixToNinety
            .fromJson((l$seventysixToNinety as Map<String, dynamic>)),
    ninetyoneToHundredfive: l$ninetyoneToHundredfive == null
        ? null
        : Query$getPredictions$getPredictions$teams$home$league$cards$red$ninetyoneToHundredfive
            .fromJson((l$ninetyoneToHundredfive as Map<String, dynamic>)),
    hundredsixToHundredtwenty: l$hundredsixToHundredtwenty == null
        ? null
        : Query$getPredictions$getPredictions$teams$home$league$cards$red$hundredsixToHundredtwenty
            .fromJson((l$hundredsixToHundredtwenty as Map<String, dynamic>)),
    $__typename: (l$$__typename as String),
  );
}