onChange method

void onChange(
  1. Function callback
)

Implementation

void onChange(Function callback) {
  onChangeCallback = callback;
}