onUpdate property

void Function(T newData)? onUpdate
getter/setter pair

Implementation

void Function(T newData)? onUpdate;