update method

void update(
  1. BallState updateValue
)

Implementation

void update(BallState updateValue) {
  value = updateValue;
}