get method
T
get()
Gets the current value.
Same as accessing value property.
Example:
final count = Signal(5);
final v = count.get(); // Same as count.value
Implementation
T get() => value;
Gets the current value.
Same as accessing value property.
Example:
final count = Signal(5);
final v = count.get(); // Same as count.value
T get() => value;