isOnGoingCall static method
Checks whether there is an ongoing call.
This method asynchronously queries the platform to determine if there is an ongoing call in the Mirrorfly SDK.
Returns a Future that completes with a bool value:
true
if there is an ongoing call.false
if there is no ongoing call or if the call status cannot be determined.
Implementation
static Future<bool?> isOnGoingCall() async {
return FlyChatFlutterPlatform.instance.isOnGoingCall();
}