update method

void update(
  1. covariant void fnUpdate(
    1. T value
    )
)
override

Executes fnUpdate, and notify the listeners about to update.

Implementation

void update(void fnUpdate(T value)) {
  super.update(() => fnUpdate(value));
}