mount method

void mount()

Called after the hook is created and added to the widget.

This is called after build for new hooks, or after hot reload for hooks that were newly created due to type mismatches.

Use this to set up resources, subscriptions, or perform initialization.

Implementation

void mount() {}