registerOnUpdate method

void registerOnUpdate(
  1. Function onUpdate
)

Implementation

void registerOnUpdate(Function onUpdate) {
  Hints._cm!.callMethod('on', [toProxy(), 'update', onUpdate]);
}