WatcherFn<T> typedef

WatcherFn<T> = void Function(T newValue, T? oldValue)

Function type for handling watcher value changes.

Implementation

typedef WatcherFn<T> = void Function(T newValue, T? oldValue);