valueOrNull property

T? valueOrNull

Implementation

T? get valueOrNull {
  if (!_hasValue) return null;

  return _value;
}