GameEndConditionSet.fromJson constructor
Implementation
factory GameEndConditionSet.fromJson(Map<String, dynamic> json) =>
json.containsKey('white')
? GameEndConditionSet(
GameEndConditions.fromJson(json['white']),
GameEndConditions.fromJson(json['black']),
)
: GameEndConditionSet.symmetric(GameEndConditions.fromJson(json));