updateSample method

void updateSample(
  1. int? input
)

Updates the sample variable.

Implementation

void updateSample(int? input) {
	if (input == null) return;
	sample = input;
	notifyListeners();
}