activeCalls method
The current active calls being handled by the TelnyxClient instance The Map key is the callId String and the value is the Call instance
Implementation
Map<String, Call> activeCalls() {
return Map.fromEntries(
calls.entries.where(
(entry) =>
entry.value.callState.isActive ||
entry.value.callState.isDropped ||
entry.value.callState.isReconnecting,
),
);
}