SnakeGameModel constructor

SnakeGameModel({
  1. int? number,
  2. SnakeType? stateOfItem,
  3. int? id,
  4. int? mainNumber,
  5. bool isCorrect = false,
  6. bool isZero = false,
  7. bool isSelected = false,
  8. int? numberWillShowStick,
})

Implementation

SnakeGameModel(
    {this.number,
    this.stateOfItem,
    this.id,
    this.mainNumber,
    this.isCorrect = false,
    this.isZero = false,
    this.isSelected = false,
    this.numberWillShowStick});