suppliesMatch method

  1. @override
Future<bool?> suppliesMatch()
override

suppliesMatch() compares the supply name that is installed in the connected printer and the supply name that the current template was designed with. Returns true if the supplies match. Otherwise, returns false.

Implementation

@override
Future<bool?> suppliesMatch() async {
  bool? suppliesMatch =
      await methodChannel.invokeMethod<bool>('suppliesMatch');
  return suppliesMatch;
}