Channel constructor

Channel(
  1. int id,
  2. void send(
    1. OmnyShellFrame frame
    )
)

Creates a channel with id id, sending frames via send.

Implementation

Channel(this.id, void Function(OmnyShellFrame frame) send) : _send = send;