repoViewOrNull property

RepoView? get repoViewOrNull

Returns RepoView if this data is RepoView, otherwise null.

Implementation

RepoView? get repoViewOrNull => isRepoView ? repoView : null;