activeCall property

BaseMessage? activeCall
getter/setter pair

The call this device placed or answered, until it is over.

Android keeps this in the chat SDK (CometChat.getActiveCall()): set when initiateCall or acceptCall succeeds, refreshed by an "ongoing" event for the same session, cleared when that session is rejected, cancelled, unanswered or ended. The Dart SDK's getActiveCall / clearActiveCall are HTTP calls to an endpoint the server does not have, so the UI Kit keeps the record itself.

Implementation

BaseMessage? activeCall;