[dart/en-en] Updated example 33

`var hasValue ??= "default Value";` 
doesn't work in dart 2.7.0
This commit is contained in:
Kirill Malev 2020-03-10 19:05:38 +03:00 committed by GitHub
parent 9e975a8dcf
commit 79561a4f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -694,7 +694,6 @@ example33() {
/// Dart has also added feature such as Null aware operators
var isBool = true;
var hasString = isBool ?? "default String";
var hasValue ??= "default Value";
/// Programs have only one entry point in the main function.
/// Nothing is expected to be executed on the outer scope before a program