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;
  }(), '');
}