Variables: final

final name = 'Bob';
  • A final variable can be set only once.
  • A final top-level or class variable is initialized the first time it’s used.
  • You can’t change the value of a final variable.

Related concepts

Variables: final — Structure map

Clickable & Draggable!

Variables: final — Related pages: