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