drained property

bool drained

Returns true if all the data has been pulled.

Implementation

bool get drained => buffer.isEmpty && !state.hasMore;