onMount method

  1. @override
void onMount()
override

Called when the component is mounted/hydrated in the browser.

Override this method to add interactivity to your component.

Implementation

@override
void onMount() {
  super.onMount();
  update();
}