getSupplyWidth method

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

getSupplyWidth() returns a String representing the width of the supply installed in the connected printer.

Implementation

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