getMediaFileVer method

Future<String> getMediaFileVer(
  1. String filePath
)

Implementation

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

  final String mediaFileVersion = await _channel.invokeMethod("getMediaFileVer", params);

  return mediaFileVersion;
}