mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-13 18:24:39 +02:00
Merge pull request #3882 from Hiyorimi/patch-6
[dart/en-en] Updated example 33
This commit is contained in:
@@ -693,7 +693,6 @@ example33() {
|
|||||||
/// Dart has also added feature such as Null aware operators
|
/// Dart has also added feature such as Null aware operators
|
||||||
var isBool = true;
|
var isBool = true;
|
||||||
var hasString = isBool ?? "default String";
|
var hasString = isBool ?? "default String";
|
||||||
var hasValue ??= "default Value";
|
|
||||||
|
|
||||||
/// Programs have only one entry point in the main function.
|
/// Programs have only one entry point in the main function.
|
||||||
/// Nothing is expected to be executed on the outer scope before a program
|
/// Nothing is expected to be executed on the outer scope before a program
|
||||||
|
Reference in New Issue
Block a user