rebuild method

void rebuild(
  1. void updates(
    1. M message
    )
)

Implementation

void rebuild(void Function(M message) updates) {
  update(
    (v) => v.rebuild(updates),
  );
}