isNull property

bool get isNull

Returns true if this pointer is NULL.

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

Implementation

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