replaceText method

Future<bool> replaceText(
  1. String data
)

Replaces the next replaceable text in a P-touch Template. Text strings are replaced in order of small object number.

Implementation

Future<bool> replaceText(String data) async {
  var params = {
    "printerId": mPrinterId,
    "printInfo": mPrinterInfo.toMap(),
    "data": data
  };

  final bool success = await _channel.invokeMethod("replaceText", params);

  return success;

}