statusSensor method

Future<int> statusSensor()

*statusSensor

Check the status of the paper sensor hardware

Implementation

Future<int> statusSensor() async {
  int? _status = await platform?.invokeMethod('statusSensor') ?? 9999;

  if (_status < 0) {
    throw ElginException(_status);
  }
  return _status;
}