registerOnChange method

  1. @override
void registerOnChange (
  1. ChangeFunction<T> fn
)
override

Set the function to be called when the control receives a change event.

Implementation

@override
void registerOnChange(ChangeFunction<T> fn) {
  onModelChange = fn;
}