PostGenStepId class final
Identifies a post-generation step of a module, so that another step may continue it (see PostGenStep.followUpOf).
A module that lets the modules which depend on it continue a step publishes the id of the step as a constant of its module class, next to its ModuleId:
final class FirebaseCoreModule extends SmfModule {
static const id = ModuleId('firebase_core');
static const configureStep = PostGenStepId(id, 'configure');
// ...
}
Ids of different modules differ, so modules that do not know each other cannot give two steps one id.
- Annotations
-
- @immutable
Constructors
- PostGenStepId(ModuleId module, String name)
-
Identifies the step
nameof the modulemodule.const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- module → ModuleId
-
The module whose step it is, which contributes the step.
final
- name → String
-
The name of the step, which no other step of module has.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override