value<T> method
Implementation
void value<T>(OnState<TS> onState, ValueConsumer<T>? builder) {
if (builder != null) {
_add(
onState,
(c, s) => builder(c, s.extractValue()),
);
}
}
void value<T>(OnState<TS> onState, ValueConsumer<T>? builder) {
if (builder != null) {
_add(
onState,
(c, s) => builder(c, s.extractValue()),
);
}
}