startCall method

void startCall({
  1. required String callId,
  2. bool videoCall = false,
  3. bool videoOnStart = false,
  4. String? callerName,
  5. String? calleeName,
  6. dynamic completion()?,
})

Implementation

void startCall(
    {required String callId, bool videoCall = false, bool videoOnStart = false, String? callerName, String? calleeName, Function()? completion}) async {
  CallManager().joinCall(callId: callId,
      videoCall: videoCall,
      videoOnStart: videoOnStart,
      callerName: callerName,
      calleeName: calleeName,
      completion: completion);
}