connectOximeterAndGetData method

void connectOximeterAndGetData(
  1. {MessageHandler onReceive}
)

Implementation

void connectOximeterAndGetData({
  MessageHandler onReceive,
}) async {
  _onReceive = onReceive;
  _channel.setMethodCallHandler(_handleMethod);
  _channel.invokeMethod('connectOximeterAndGetData');
}