value property

  1. @override
T? value
override

Returns the value of the property either from cache or by invoking a ComputePropertyValueCallback.

If an exception is thrown invoking the ComputePropertyValueCallback, value returns null and the exception thrown can be found via the exception property.

See also:

Implementation

@override
T? get value {
  _maybeCacheValue();
  return _value;
}