printBitmap method
在当前行渲染位图
Implementation
@override
Future<void> printBitmap(Uint8List bitmap, BitmapStyle style) async {
_methodChannel.invokeMethod(Constants.METHOD_LINE_PRINT_BITMAP, {
ParamConstants.BITMAP: bitmap,
ParamConstants.STYLE: jsonEncode(style.toJson())
});
}