isEmpty property

  1. @override
bool get isEmpty
override

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;