backgrounMessageHandler function

void backgrounMessageHandler(
  1. SmsMessage message
)

The top-level call-back method for handling in-coming SMS messages when the app is in the background.

Implementation

void backgrounMessageHandler(SmsMessage message) async {
  _textMessageProbeController
      .add(Measurement.fromData(TextMessage.fromSmsMessage(message)));
}