Query$getPlayerById$getPlayerById$statistics$cards.fromJson constructor
Query$getPlayerById$getPlayerById$statistics$cards.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Query$getPlayerById$getPlayerById$statistics$cards.fromJson(
Map<String, dynamic> json) {
final l$yellow = json['yellow'];
final l$yellowred = json['yellowred'];
final l$red = json['red'];
final l$$__typename = json['__typename'];
return Query$getPlayerById$getPlayerById$statistics$cards(
yellow: (l$yellow as num?)?.toDouble(),
yellowred: (l$yellowred as num?)?.toDouble(),
red: (l$red as num?)?.toDouble(),
$__typename: (l$$__typename as String),
);
}