Config class abstract final

Configuration access (Config.get('app.name')).

Properties

hashCode → int
The hash code for this object.
no 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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

repository → ConfigRepository
The configuration of the current container.
no setter

Static Methods

get<T>(String key, [T? fallback]) → T
The value at the dotted key, or fallback.
has(String key) → bool
Whether key is set.
section<T extends ConfigSection>() → T
The typed configuration section T.