getDefaultPrinter method

  1. @override
Future<String> getDefaultPrinter()
override

Implementation

@override
Future<String> getDefaultPrinter() async{
  try{
    var printerName = await flutterPrinterChannel.invokeMethod('getDefaultPrinter');
    return printerName;
  } catch(e){
    return "";
  }
}