videoViewOrNull property

VideoView? get videoViewOrNull

Returns VideoView if this data is VideoView, otherwise null.

Implementation

VideoView? get videoViewOrNull => isVideoView ? videoView : null;