initPrinter method

  1. @override
Future<String?> initPrinter(
  1. PrintSizeImin printSizeImin
)
override

Implementation

@override
Future<String?> initPrinter(PrintSizeImin printSizeImin) async {
  try {
    return await methodChannel.invokeMethod<String>('initPrinter', {'printSize': printSizeImin.value});
  } on MissingPluginException catch (_) {
    throw MissingPluginException('No method found for initPrinter() on channel');
  }
}