Skip to content

Glossary: Dart Basics

wildcard

Also written: _

The _ in a pattern, which matches anything, such as the catch-all line in a switch expression.

Where the book teaches it

Related terms

switch expression