hasData property

bool get hasData

Implementation

bool get hasData => element != null || (elements?.isNotEmpty == true);