hasData property

bool get hasData

Returns true if data is present.

Implementation

bool get hasData => data != null;