selectRebuild<S> method

void selectRebuild<S>({
  1. required S select(
    1. M message
    ),
  2. required void updates(
    1. S selected
    ),
})

Implementation

void selectRebuild<S>({
  required S Function(M message) select,
  required void Function(S selected) updates,
}) {
  update(
    (v) => v.selectRebuild(
      select: select,
      updates: updates,
    ),
  );
}