hasData property

bool hasData

Convenience getter to check if bytedata is available for the inserted content.

Implementation

bool get hasData => data?.isNotEmpty ?? false;