onClear method

void onClear(
  1. Function func
)

Implementation

void onClear(Function func) => _onClear.add(func);