getStatus property

Future<bool> getStatus

Retorna o Status da impressora (True, False)

Implementation

static Future<bool> get getStatus async {
  bool status;
  try {
    status = await _channel.invokeMethod('statusImpressora');
  } on PlatformException catch (e) {
    print(e.message);
  }
  return status;
}