knownValueOrNull property

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

Implementation

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