knownValueOrNull property

KnownLabelValueDefinitionSeverity? get knownValueOrNull

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

Implementation

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