phase property
override
The startup phase this task belongs to.
Tasks are executed in StartupPhase enum declaration order, so the phase value implicitly determines when this task runs relative to others.
Implementation
@override
StartupPhase get phase => StartupPhase.criticalSecurity;