as7OrNull property

X7? get as7OrNull

Return the value if it has type X7, otherwise null.

Implementation

X7? get as7OrNull => value is X7 ? value as X7 : null;