maybeMap<TResult extends Object?> method
- @optionalTypeArgs
- TResult declaration(
- DeclarationExpectation value
- TResult expression(
- ExpressionExpectation value
- TResult oneOf(
- OneOfExpectation value
- TResult token(
- TokenExpectation value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(DeclarationExpectation value)? declaration,
TResult Function(ExpressionExpectation value)? expression,
TResult Function(OneOfExpectation value)? oneOf,
TResult Function(TokenExpectation value)? token,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;