BasicChannel constructor

BasicChannel({
  1. Buffer? buffer,
})

Creates an instance of a BasicChannel. You can optionally pass it a buffer to control how the channel buffers the messages.

Implementation

BasicChannel({Buffer? buffer}) : super(buffer: buffer);