isEmpty property

  1. @override
bool isEmpty

Whether or not bytes is empty.

No decoding will occur if this flag is true.

Concrete implementations provide an implementation for this method without inspecting bytes.

Implementation

@override
bool get isEmpty => !_hasContent;