ConfigValue<T> class
Modelo que encapsula un valor de configuración junto con su origen
Constructors
- ConfigValue(T value, ConfigValueSource source)
-
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
- source → ConfigValueSource
-
final
- value → T
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
defaultValue<
T> (T value) → ConfigValue< T> - Crea un ConfigValue desde un valor por defecto
-
fromLocal<
T> (T value) → ConfigValue< T> - Crea un ConfigValue desde configuración local
-
fromRemote<
T> (T value) → ConfigValue< T> - Crea un ConfigValue desde configuración remota