WebStoredCall class

Model of an OngoingCall stored in the browser's storage.

Constructors

WebStoredCall({required ChatId chatId, ChatCall? call, ChatCallCredentials? creds, ChatCallDeviceId? deviceId, OngoingCallState state = OngoingCallState.local})
const
WebStoredCall.fromJson(Map data)
Constructs a WebStoredCall from the provided data.
factory

Properties

call → ChatCall?
ChatCall of this WebStoredCall.
final
chatId → ChatId
ChatId of this WebStoredCall.
final
creds → ChatCallCredentials?
Stored OngoingCall.creds.
final
deviceId → ChatCallDeviceId?
Stored OngoingCall.deviceId.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → OngoingCallState
Stored OngoingCall.state.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a Map containing this WebStoredCall data.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited