foreachMaster method

dynamic foreachMaster (Combination combination, Master master)

Implementation

foreachMaster(Combination combination, Master master) {
  CardId cardId = CardId.fromIdAndCombi(master.id, combination);

  _state.cardStates[cardId.uniqueId] =
      CardState.makeInitialCardState(id: master.id, combination: combination);

  print("${cardId.id}-${_state.cardStates[cardId.uniqueId].mode}");
}