isEmpty property Null safety

  1. @override
bool 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;