What do you want to save?
Add Code snippet
New code examples in category Dart
-
-
-
Awgiedawgie 2022-03-05 21:35:12
dart nullable variable
// type? variable; variable can be null. int a?; // a can be null e1?.[e2] // null if e1 is null; otherwise it’s e1[e2] /* This requires the 'non-nullable' language feature to be enabled. In pubspec.yaml, set the minimum SDK constraint to 2.... Add solution
Best helpers
Ranking is empty