selectRebuild<S> method
M
selectRebuild<S>({
- required S select(
- M message
- required void updates(
- S selected
Implementation
M selectRebuild<S>({
required S Function(M message) select,
required void Function(S selected) updates,
}) {
return deepRebuild(
(message) => updates(
select(message),
),
);
}