imagesOrNull property

Images? get imagesOrNull

Returns Images if this data is Images, otherwise null.

Implementation

Images? get imagesOrNull => isImages ? images : null;