maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult repoRef(
- RepoRef data
- TResult strongRef(
- StrongRef data
- TResult messageRef(
- MessageRef data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;