printBitmap method

  1. @override
Future<String> printBitmap(
  1. Uint8List bytes
)
override

Implementation

@override
Future<String> printBitmap(Uint8List bytes) async {
  try {
    return await methodChannel.invokeMethod<String>('printBitmap', {'bytes': bytes}) ?? 'invalid';
  } on MissingPluginException catch (_) {
    throw MissingPluginException('No method found for printBitmap() on channel');
  }
}