knownValueOrNull property

KnownLabelValue? get knownValueOrNull

Returns known value if this data is known, otherwise null.

Implementation

KnownLabelValue? get knownValueOrNull => isKnownValue ? knownValue : null;