hasRef property

bool get hasRef

Returns true if ref is not null, otherwise false.

Implementation

bool get hasRef => ref != null;