FlutterThermalPrinterNetwork constructor

FlutterThermalPrinterNetwork(
  1. String host, {
  2. int port = 9100,
  3. Duration timeout = const Duration(seconds: 5),
})

Implementation

FlutterThermalPrinterNetwork(
  String host, {
  int port = 9100,
  Duration timeout = const Duration(seconds: 5),
})  : _host = host,
      _port = port,
      _timeout = timeout;