startSingleCall static method

Future<String> startSingleCall(
  1. String userId, {
  2. ChatCallKitCallType type = ChatCallKitCallType.audio_1v1,
  3. Map<String, String>? ext,
})

Initiate a 1v1 call.

Param userId called user id.

Param type call type, see ChatCallKitCallType.

Param ext additional information.

Implementation

static Future<String> startSingleCall(
  String userId, {
  ChatCallKitCallType type = ChatCallKitCallType.audio_1v1,
  Map<String, String>? ext,
}) {
  return _impl.startSingleCall(userId, type: type, ext: ext);
}