hasList property

bool get hasList

Returns true if list is not null, otherwise false.

Implementation

bool get hasList => list != null;