exception property Null safety

Object? exception

Exception thrown if accessing the property value threw an exception.

Returns null if computing the property value did not throw an exception.

Implementation

Object? get exception {
  _maybeCacheValue();
  return _exception;
}