deepRebuild method

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

Implementation

M deepRebuild(void Function(M message) updates) {
  return deepCopy().also(updates)..freeze();
}