ChessnutCommunicationClient constructor

ChessnutCommunicationClient(
  1. ChessnutCommunicationType type,
  2. Future<void> send(
    1. Uint8List
    ), {
  3. bool waitForAck = false,
  4. Duration ackTimeout = const Duration(seconds: 1),
})

Implementation

ChessnutCommunicationClient(this.type, this.send, { this.waitForAck = false, this.ackTimeout = const Duration(seconds: 1) });