getPrinterStatus method
Implementation
@override
Future<Map<String, dynamic>> getPrinterStatus() async {
final code = await methodChannel.invokeMethod<String>('getPrinterStatus');
logger.d('code $code');
Map<String, dynamic> printerStatus = <String, dynamic>{
"code": code,
"msg": PrinterStatus.getValue(code ?? '-1')
};
return printerStatus;
}