clear method Null safety

void clear()

Clear the buffer

Implementation

void clear() => _payload!.clear();