toStored method

WebStoredCall toStored()

Constructs a WebStoredCall containing all necessary information of this OngoingCall to be stored in the browser's storage.

Implementation

WebStoredCall toStored() {
  return WebStoredCall(
    chatId: chatId.value,
    call: call.value,
    creds: creds,
    state: state.value,
    deviceId: deviceId,
  );
}