getBatteryWeak method

Future<int> getBatteryWeak()

Implementation

Future<int> getBatteryWeak() async {
  var params = {
    "printerId": mPrinterId,
    "printInfo": mPrinterInfo.toMap(),
  };

  final int batteryWeak = await _channel.invokeMethod("getBatteryWeak", params);

  return batteryWeak;
}