createEmpire method Null safety

EmpireState<EmpireWidget<EmpireViewModel>, T> createEmpire()

Create an instance of EmpireState for this widget.

IMPORTANT This function replaces the default createState function. Under the hood, createEmpire overrides the createState function. Overriding this function and the createState function can have unintended side affects.

Implementation

EmpireState<EmpireWidget, T> createEmpire();