initialize method

void initialize()

Called the first time the widget loads

Allows for async calls, however the initialize function is not required and this functionality can be implemented in the builder passed to the AuthenticationProvider instead.

Implementation

void initialize() async {
  this.state = await _initialize();
}