ValueGetter<T> typedef Null safety

ValueGetter<T> = T Function()

Signature for callbacks that are to report a value on demand.

See also:

Implementation

typedef ValueGetter<T> = T Function();