statusSensor method
Retorna o status do sensor de papel.
Útil para checar se há papel disponível na impressora.
Retorna o código de status da operação. Lança ElginException em caso de erro.
Implementation
Future<int> statusSensor() async {
final status = await platform?.invokeMethod('statusSensor') ?? 9999;
if (status < 0) throw ElginException(status);
return status;
}