as8OrNull property

X8? get as8OrNull

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

Implementation

X8? get as8OrNull => value is X8 ? value as X8 : null;