useReassemble function Null safety

void useReassemble(
  1. VoidCallback callback
)

Runs the callback on every hot reload, similar to reassemble in the stateful widgets.

See also:

Implementation

void useReassemble(VoidCallback callback) {
  assert(() {
    use(_ReassembleHook(callback));
    return true;
  }(), '');
}