isNull method
Checks if the given double value is null
.
Returns true
if the value is null
, otherwise false
.
Example:
double? value1;
double? value2 = 5.5;
print(value1.isNull()); // Output: true
print(value2.isNull()); // Output: false
Implementation
bool isNull() => this == null;