printImage method

  1. @override
Future<String?> printImage(
  1. Uint8List image,
  2. int align
)
override

Implementation

@override
Future<String?> printImage(Uint8List image, int align) async {
  Map<String, dynamic> arguments = <String, dynamic>{
    "data": image,
    'align': align
  };

  return await methodChannel.invokeMethod('PRINT_IMAGE', arguments);
}