Channel constructor
Channel(
- int id,
- void send(
- OmnyShellFrame frame
Creates a channel with id id, sending frames via send.
Implementation
Channel(this.id, void Function(OmnyShellFrame frame) send) : _send = send;