unit method
Implementation
void unit(OnState<TS> onState, ContextConsumer? builder) {
if (builder != null) {
_add(
onState,
(c, _) => builder(c),
);
}
}
void unit(OnState<TS> onState, ContextConsumer? builder) {
if (builder != null) {
_add(
onState,
(c, _) => builder(c),
);
}
}