hasData property

bool get hasData

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

Implementation

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