value property Null safety

  1. @override
T? value

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:


T? get value {
  return _value;