strongRefOrNull property

StrongRef? get strongRefOrNull

Returns StrongRef if this data is StrongRef, otherwise null.

Implementation

StrongRef? get strongRefOrNull => isStrongRef ? strongRef : null;