onRead property

void Function<T>(Watchable<T> ref)? onRead
getter/setter pair

Called when read is called.

Implementation

void Function<T>(Watchable<T> ref)? onRead;