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