value property

  1. @override
T get value

Compute the current value

Implementation

@override
T get value {
  if (!isInitialized) {
    throw LazySignalInitializationError(this);
  }
  if (disposed) {
    if (kDebugMode) {
      print(
        'signal warning: [$globalId|$debugLabel] has been '
        'read after disposed: ${StackTrace.current}',
      );
    }
  }
  return super.value;
}
set value (T val)
inherited

Set the current value by a setter

Implementation

set value(T val) => set(val);