Config<T> class
A class that holds the value of a parameter fetched from a remote. It also provides a Stream of updated parameter information.
Constructors
-
Config({required T value, required StreamSubscription<
void> subscription})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
The current value of the parameter.
no setter
Methods
-
dispose(
) → Future< void> - Closes the Config.
-
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