BaseClientRegistry<TConfig extends BaseClientConfig> class
abstract
The server-side injection registry.
Constructors
Properties
-
appApi
→ BaseAppApi<
BaseClientConfig> -
Gets the BaseAppApi for handling requests.
no setter
- config → TConfig
-
Gets the
TConfig
used by the registry and its components.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
Gets the
http.Client
for API requests.no setter - injector → Injector
-
Gets the
Injector
behind this instance. This is useful for injecting mocks for testingno setterinherited - 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
-
reset(
) → void -
Resets the Registry state, allowing it to be reconfigured.
inherited
-
setup(
TConfig config) → void -
Sets up the registry with access to a
config
.override -
toString(
) → String -
A string representation of this object.
inherited
-
useConfig(
TConfig config) → void -
Sets the available
config
for factories requiring configuration.inherited -
withConfig<
T> (ConfigBuilder< T, TConfig> builder, {bool singleton = true}) → Factory<T> -
Registers a singleton builder for an object that requires configuration values
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited