hasData property

bool get hasData

Returns true if data is not null, otherwise false.

Implementation

bool get hasData => data != null;