getSupplyName method
getSupplyName() returns a String representing the supply installed in the connected printer.
Implementation
@override
Future<String?> getSupplyName() async {
String? supplyName =
await methodChannel.invokeMethod<String>('getSupplyName');
return supplyName;
}