updateCallDuration static method
Implementation
static Future<void> updateCallDuration(int seconds) async {
print('[Isolate] updateCallTimer() Hash: ${Isolate.current.hashCode}');
try {
await _ongoingCallChannel.invokeMethod('updateCallDuration', {
'call_duration_seconds': seconds,
});
} catch (e) {
if (kDebugMode) {
print("Error updating call duration: $e");
}
}
}