reset method
void
reset()
Reset the signal to its initial value (if metadata exists)
Example:
final counter = SignalsWatch.signal(0);
counter.value = 10;
counter.reset(); // back to 0
Implementation
void reset() {
final metadata = _getSignalMetadata(this);
if (metadata != null && metadata.initialValue != null) {
value = metadata.initialValue as T;
}
}