isNotNull property

bool get isNotNull

Returns true if this pointer is not NULL.

A pointer is considered not NULL when its address is not equal to 0.

Implementation

@pragma('vm:prefer-inline')
bool get isNotNull => address != NULL;