print method

Future<bool?> print(
  1. int copies,
  2. bool cutAfterEachLabel,
  3. bool isCollated,
  4. bool printTrailer,
)

print() asynchronously sends a print job of the currently set template to the printer that the app is currently connected to and returns a Boolean value afterwards with the result of the print operation (i.e. success or failure).

Implementation

Future<bool?> print(int copies, bool cutAfterEachLabel, bool isCollated,
    bool printTrailer) async {
  return await BradyFlutterPluginPlatform.instance
      .print(copies, cutAfterEachLabel, isCollated, printTrailer);
}