recordWithMediaViewOrNull property

RecordWithMediaView? get recordWithMediaViewOrNull

Returns RecordWithMediaView if this data is RecordWithMediaView, otherwise null.

Implementation

RecordWithMediaView? get recordWithMediaViewOrNull =>
    isRecordWithMediaView ? recordWithMediaView : null;