isNotNull property
bool
isNotNull
Checks whether the String
is not null
.
Example 1
String? foo;
bool isNull = foo.isNotNull; // returns false
Example 2
String foo = 'fff';
bool isNull = foo.isNotNull; // returns true
Implementation
bool get isNotNull {
return isNull == false;
}