CallStateReady class

Inheritance

Constructors

CallStateReady({required CallProtocol protocol, required List<CallServer> servers, required String config, required String encryptionKey, required List<String> emojis, required bool allowP2p})
The call is ready to use
const
CallStateReady.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

allowP2p bool
allowP2p True, if peer-to-peer connection is allowed by users privacy settings
final
clientId int?
client identifier
no setterinherited
config String
config A JSON-encoded call config
final
emojis List<String>
emojis Encryption key emojis fingerprint
final
encryptionKey String
encryptionKey Call encryption key
final
extra → dynamic
callback sign
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
protocol CallProtocol
protocol Call protocols supported by the peer
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
servers List<CallServer>
servers List of available call servers
final

Methods

copyWith({CallProtocol? protocol, List<CallServer>? servers, String? config, String? encryptionKey, List<String>? emojis, bool? allowP2p}) CallStateReady
override
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String