ProtocolMessage constructor

ProtocolMessage({
  1. required int id,
  2. required Uint8List data,
  3. required String type,
})

Implementation

ProtocolMessage({required this.id, required this.data, required this.type}) : sent = Completer();