RawApiClient constructor
RawApiClient({})
Create a new RawApiClient given a port
and a host
. Callbacks can be
optionally provided.
Implementation
RawApiClient({
required this.port,
required this.host,
this.idWidth = 4,
this.onConnect,
this.onReceive,
this.onDisconnect,
}) {
_checkValidIdWidth();
}