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