InitializationStep<Process extends DIProcess<T>, T> class final

A concrete implementation of DependencyInitializationStep for simple initialization steps.

This class represents a step that runs in the main isolate and doesn't require isolation.

Inheritance

Constructors

InitializationStep.new({String? title, DIStepType type = DIStepType.simple, required FutureOr<void> run(Process process)})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
run FutureOr<void> Function(Process process)
The function that performs the initialization step.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Optional title for the initialization step.
finalinherited
type DIStepType
Type of the initialization step, defaults to DIStepType.simple.
finalinherited

Methods

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