thereAreAsynchronousMessagesInTransmit method
Returns whether there are still asynchronous messages being transmitted for this session or not.
Implementation
Future<bool> thereAreAsynchronousMessagesInTransmit() async {
try {
return _platform.abstractSessionThereAreAsynchronousMessagesInTransmit(
this.getSessionId(),
);
} on PlatformException catch (e, stack) {
print(
"Plugin thereAreAsynchronousMessagesInTransmit error: ${e.message}",
);
return Future.error(
"thereAreAsynchronousMessagesInTransmit failed.",
stack,
);
}
}