Skip to content

Glossary: Dart Basics

setter

Also written: setters, set

A member that runs code when you assign to it, written with set. The reverse of a getter.

Where the book teaches it

Related terms

getter