Semantic portal
Main
Courses
Domains
Terminology
About
Variables
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
Set
Variables
→
final
→
Variables: const
Variables: final — Structure map
Clickable & Draggable!
Variables: final — Related pages:
Variables