diff --git a/rules/S7105/dart/rule.adoc b/rules/S7105/dart/rule.adoc index 19dd197b07a..14855339122 100644 --- a/rules/S7105/dart/rule.adoc +++ b/rules/S7105/dart/rule.adoc @@ -1,6 +1,6 @@ == Why is this an issue? -Nullability of types is an important part of Dart's type system. In order to simplify the work with nullable types in the Dart language there are many null-aware operators (`??`, `??=`, `?.`, `!`, `?..`, `?[]`, `...?`). Using those operators will make your code more clear and concise. +Nullability of types is an important part of Dart's type system. In order to simplify the work with nullable types in the Dart language there are many null-aware operators (`??`, `??=`, `?.`, `!`, `?..`, `?[]`, ``++...?++``). Using those operators will make your code more clear and concise. The If-null operator (`??`), will check if the value on the left side is `null`, and, if yes, will return the expression on the right. This is an easy way to set default values instead of dealing with `null`. Thus, this operator doesn't make sense if used with `null` on either sides.