imagesViewOrNull property

ImagesView? get imagesViewOrNull

Returns ImagesView if this data is ImagesView, otherwise null.

Implementation

ImagesView? get imagesViewOrNull => isImagesView ? imagesView : null;