whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? repoView(
- RepoView data
- TResult? repoViewNotFound(
- RepoViewNotFound data
- TResult? recordView(
- RecordView data
- TResult? recordViewNotFound(
- RecordViewNotFound data
- TResult? unknown()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(RepoView data)? repoView,
TResult? Function(RepoViewNotFound data)? repoViewNotFound,
TResult? Function(RecordView data)? recordView,
TResult? Function(RecordViewNotFound data)? recordViewNotFound,
TResult? Function(Map<String, dynamic> data)? unknown,
}) =>
throw _privateConstructorUsedError;