knownValueOrNull property

KnownAddMemberRole? get knownValueOrNull

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

Implementation

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