maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult repoView(
- RepoView data
- TResult repoViewNotFound(
- RepoViewNotFound data
- TResult recordView(
- RecordView data
- TResult recordViewNotFound(
- RecordViewNotFound data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;