as3OrNull property

X3? get as3OrNull

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

Implementation

X3? get as3OrNull => value is X3 ? value as X3 : null;