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