when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult oneOf(
- List<
ExpectationType> expectations, - String? description
- List<
- required TResult statement(),
- required TResult token(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(
List<ExpectationType> expectations, String? description)
oneOf,
required TResult Function(Statement statement, String? description)
statement,
required TResult Function(TokenType token, String? description) token,
}) =>
throw _privateConstructorUsedError;