getSupplyHeight method

  1. @override
Future<double?> getSupplyHeight()
override

getSupplyHeight() returns a String representing the height of the supply installed in the connected printer.

Implementation

@override
Future<double?> getSupplyHeight() async {
  double? supplyHeight =
      await methodChannel.invokeMethod<double>('getSupplyHeight');
  return supplyHeight;
}