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