TBuildServiceParameters<TClassDesc extends SubsystemClassDesc> class

Inheritance

Constructors

TBuildServiceParameters({required TClassDesc classDesc, Map<String, Object?>? context, FutureOr<bool> shouldAbortBuild(BuildServiceParameters params)?, bool isSynchronous = false, SubsystemBuilder<Subsystem>? customBuilder})

Properties

classDesc → TClassDesc
no setter
classDescription → SubsystemClassDesc
Metadata descriptor for the subsystem class.
no setterinherited
context → Map<String, Object?>?
Arbitrary context for builders (env, config, DI container, etc.).
no setterinherited
customBuilder → SubsystemBuilder<Subsystem>?
Optional custom builder to instantiate the subsystem.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isSynchronous → bool
Whether this service initializes synchronously and should be registered first. Synchronous services are initialized before async ones to ensure dependencies are available.
no setterinherited
isValid → bool
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shouldAbortBuild → FutureOr<bool> Function(BuildServiceParameters params)?
Optional predicate: if returns true, construction and activation are skipped.
no setterinherited
shouldBuild → Future<bool>
no setterinherited

Methods

abortBuild() → BuildServiceParameters
inherited
copy() → BuildServiceParameters
inherited
copyWith({SubsystemClassDesc? classDescription, Map<String, Object?>? context, FutureOr<bool> shouldAbortBuild(BuildServiceParameters params)?, bool? isSynchronous, SubsystemBuilder<Subsystem>? customBuilder}) → BuildServiceParameters
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setContext(Map<String, Object?> context) → BuildServiceParameters
inherited
setContextValue(String key, Object? value) → BuildServiceParameters
inherited
setCustomBuilder(SubsystemBuilder<Subsystem> builder) → BuildServiceParameters
inherited
setShouldAbortBuild(FutureOr<bool> predicate(BuildServiceParameters params)) → BuildServiceParameters
inherited
setSynchronous(bool value) → BuildServiceParameters
inherited
toString() → String
A string representation of this object.
inherited

Operators

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