init method

  1. @override
void init()
override

Function used to declare the initial state/case of a component.

This function is called at the beginning of rendering, once the application is added to the DOM.

init can be called synchronously or asynchronously.

Implementation

@override
void init() {}