isEmpty property Null safety
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;