whenOrNull<TResult extends Object?>  method 
- @optionalTypeArgs
- TResult? repoViewDetail(- RepoViewDetail data
 
- TResult? repoViewNotFound(- RepoViewNotFound data
 
- TResult? unknown()?,
A variant of when that fallback to returning null
It is equivalent to doing:
switch (sealedClass) {
  case Subclass(:final field):
    return ...;
  case _:
    return null;
}
Implementation
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult? Function( RepoViewDetail data)?  repoViewDetail,TResult? Function( RepoViewNotFound data)?  repoViewNotFound,TResult? Function( Map<String, dynamic> data)?  unknown,}) {final _that = this;
switch (_that) {
case UVerificationViewSubjectRepoRepoViewDetail() when repoViewDetail != null:
return repoViewDetail(_that.data);case UVerificationViewSubjectRepoRepoViewNotFound() when repoViewNotFound != null:
return repoViewNotFound(_that.data);case UVerificationViewSubjectRepoUnknown() when unknown != null:
return unknown(_that.data);case _:
  return null;
}
}