initState method

  1. @protected
void initState()

A life-cycle that allows initializing the StateNotifier based on values coming from read.

This method will be called once, right before update.

It is useful as constructors cannot access read.

Implementation

@protected
void initState() {}