DefaultStartupStep class
A no-op implementation of StartupStep used by DefaultApplicationStartup.
This step returns default values and ignores all tagging and end() calls.
It is designed for cases where performance is critical or startup tracking
is explicitly disabled.
Example
final step = DefaultStartupStep();
print(step.name); // "default"
step.tag('ignored', 'value'); // no-op
step.end(); // no-op
- Inheritance
-
- Object
- StartupStep
- DefaultStartupStep
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
A unique identifier assigned to this step.
no setteroverride
- name → String
-
The technical name of the startup step.
no setteroverride
- parentId → int?
-
ID of the parent step, if available.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Returns the complete list of StartupStepTags associated with this step.
no setteroverride
Methods
-
end(
) → void -
Marks the end of this step.
override
-
equalizedProperties(
) → List< Object?> -
Mixin-style contract for value-based equality,
hashCode, andtoString.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tag(
String key, {String? value, String supplied()?}) → StartupStep -
Attaches a static key/value tag to this step.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
toStringOptions(
) → ToStringOptions -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited