StartupTask class abstract

The contract for a single unit of work in the app startup sequence.

StartupOrchestrator groups implementations by phase and runs them sequentially within each phase. Concrete tasks must not swallow exceptions — any unhandled error propagates to StartupCubit and marks startup as failed.

Implementers

Constructors

StartupTask()

Properties

hashCode int
The hash code for this object.
no setterinherited
id StartupTaskId
A unique identifier for this task, used for logging and ordering.
no setter
label String
A short human-readable description shown on the splash screen while this task runs.
no setter
phase StartupPhase
The startup phase this task belongs to.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute({void onSubProgress(double subFraction)?}) Future<void>
Performs the startup work for this task.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited