isValid property Null safety

bool isValid

Returns true if this object is still valid.

Implementation

bool get isValid => handle.value != 0;