recordViewOrNull property

RecordView? get recordViewOrNull

Returns RecordView if this data is RecordView, otherwise null.

Implementation

RecordView? get recordViewOrNull => isRecordView ? recordView : null;