printerState method
Implementation
Future<GertecResponse> printerState() async {
final state = GertecResponse.fromJson(
await GertecPrinterPlatform.instance.printerState() ?? '{}');
return state.copyWith(
content: PrinterState.values
.where((pState) => pState.index == (state.content as int))
.first);
}