CoreServiceProvider class

A service provider that registers core framework services and manages configuration loading.

Inheritance
Mixed-in types

Constructors

CoreServiceProvider({EngineConfig? config, Map<String, dynamic>? configItems, ConfigLoaderOptions? configOptions, ConfigLoader? loader})

Properties

configSource String
Optional identifier used when tracking config contributions.
no setterinherited
defaultConfig ConfigDefaults
Default configuration (values + documentation) contributed by this provider.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemas Map<String, Schema>
The JSON Schemas for this configuration.
no setterinherited

Methods

boot(Container container) Future<void>
Optional boot method called after all providers are registered.
override
cleanup(Container container) Future<void>
Optional cleanup method called when container is disposed.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onConfigReload(Container container, Config config) Future<void>
Called when the application configuration is reloaded.
inherited
register(Container container) → void
Register services with the container.
override
toString() String
A string representation of this object.
inherited

Operators

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