const mixinafIocConfig::IocConfigSource

afIocConfig::IocConfigSource

(Service) - Provides the config values.

config

Source

abstract Str:Obj? config()

Returns a case-insensitive map of all the config values

get

Source

@Operator
abstract Obj? get(Str id, Type? coerceTo := null)

Return the config value with the given id, optionally coercing it to the given type.

Throws ArgErr if the ID could not be found.