ccCallAccepted method

  1. @override
void ccCallAccepted(
  1. Call call
)
override

Answered here: the call stops ringing and becomes the active one.

Implementation

@override
void ccCallAccepted(Call call) {
  if (ActiveCallTracker.ringingCall?.sessionId == call.sessionId) {
    ActiveCallTracker.ringingCall = null;
  }
  activeCall = call;
}