getCallOrNull method

Call? getCallOrNull(
  1. String callId
)

Provides the current Call instance associated with the callId otherwise returns null

Implementation

Call? getCallOrNull(String callId) {
  if (calls.containsKey(callId)) {
    GlobalLogger().d('Invite Call found');
    return calls[callId];
  }
  GlobalLogger().d('Invite Call not found');
  return null;
}