printImage method

  1. @override
Future<bool> printImage(
  1. String base64Encoded, {
  2. double width = 460,
})
override

Print an image from a base64 encoded string

Implementation

@override
Future<bool> printImage(String base64Encoded, {double width = 460}) async {
  final bool result = await methodChannel.invokeMethod('printImage', {
    'base64Encoded': base64Encoded,
    'width': width,
  });
  return result;
}