whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? repoRef(
- RepoRef data
- TResult? strongRef(
- StrongRef data
- TResult? messageRef(
- MessageRef data
- TResult? unknown()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(RepoRef data)? repoRef,
TResult? Function(StrongRef data)? strongRef,
TResult? Function(MessageRef data)? messageRef,
TResult? Function(Map<String, dynamic> data)? unknown,
}) =>
throw _privateConstructorUsedError;