getLabelParam method

Future<LabelParam> getLabelParam()

Get the detail information of the media (for QL, PT, TD and RJ series) specified by setPrinterInfo.

Implementation

Future<LabelParam> getLabelParam() async {

  var params = {
    "printerId": mPrinterId,
    "printInfo": mPrinterInfo.toMap(),
  };

  final Map resultMap = await _channel.invokeMethod("getLabelParam", params);

  final LabelParam outLabel = LabelParam.fromMap(resultMap);
  return outLabel;
}