Junior — Middle
In what year was the null safety mechanism introduced in the programming language?
sobes.tech AI
Answer from AI
The null safety mechanism in the Dart language (used in Flutter) was officially introduced in Dart 2.12, which was released in March 2021.
Null safety allows the compiler to guarantee that variables will not contain null unless explicitly specified, helping to avoid common null-related errors and increasing the safety and stability of the code.