onStartCall function
Implementation
Future<void> onStartCall(_callId, CallModel? data, {required String status, String? where}) async {
appCallBloc.add(CallStatusEvent(callId: _callId!, status: status));
final params = CallKitParams(
id: currentuuid,
nameCaller: data?.name,
handle: data?.dialerId.toString(),
type: data?.callType == "video" ? 1 : 0,
);
await FlutterCallkitIncoming.startCall(params);
}