onHotReload method

FutureOr<void> onHotReload(
  1. Module newModule
)
inherited

Called during hot reload operations.

Override this method to transfer state to the new module implementation.

Parameters:

  • newModule - The new module implementation

Implementation

FutureOr<void> onHotReload(Module newModule) async {}