ConfigsManager class abstract

Implementers

Constructors

ConfigsManager.new()
const

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

dispose() → void
get([String name = 'default']) Config<Object>
Returns a config by its name.
isA(Object id, [String name = defaultConfigName]) bool
Returns true if the Config stored in the ConfigStore under the given name has a matching id with its Config.id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set({String name = defaultConfigName, required ConfigCreationCallback<Config<Object>> create}) → void
Lazily adds a Config to the store by its name. The config will be created when it is first requested by the get method.
setIfAbsent({String name = defaultConfigName, required ConfigCreationCallback<Config<Object>> create}) → void
Adds a Config to the store by its name if it does not already exist.
setImmediately({String name = defaultConfigName, required Config<Object> config}) Config<Object>
Immediately adds a config to the store by its name.
toString() String
A string representation of this object.
inherited

Operators

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