statusCashier method
Retorna o status atual da gaveta de dinheiro.
Útil para verificar se há uma gaveta conectada e operacional.
Retorna o código de status da operação. Lança ElginException em caso de erro.
Implementation
Future<int> statusCashier() async {
final status = await platform?.invokeMethod('statusCashier') ?? 9999;
if (status < 0) throw ElginException(status);
return status;
}