Skip to content

Glossary: Dart Basics

null assertion

Also written: !, bang operator

The ! operator, which promises a value isn't null. It crashes with "Null check operator used on a null value" if you're wrong.

Where the book teaches it

Related terms

null safetynull-aware operators