addBuffer method Null safety

void addBuffer(
  1. Uint8Buffer buffer
)

Add a buffer

Implementation

void addBuffer(typed.Uint8Buffer buffer) {
  _payload!.addAll(buffer);
}