replaceTextIndex method
Replaces the text in an object of a P-touch Template, specified by its object number.
Implementation
Future<bool> replaceTextIndex(String data, int index) async {
var params = {
"printerId": mPrinterId,
"printInfo": mPrinterInfo.toMap(),
"data": data,
"index": index
};
final bool success = await _channel.invokeMethod("replaceTextIndex", params);
return success;
}