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;
}