downloadBmpAsset method

Future<bool> downloadBmpAsset(
  1. String assetKey
)

Downloads the BMP file from the Flutter assets into the printer under the specified file name,

Implementation

Future<bool> downloadBmpAsset(String assetKey) async {
  String filePath = await BrotherUtils.assetFileToPath(assetKey);
  return downloadBmp(filePath);
}