CallStateReady.fromJson constructor
Parses a CallStateReady from TDLib JSON.
Implementation
factory CallStateReady.fromJson(Map<String, dynamic> json) => CallStateReady(
protocol: _readObject(json['protocol'], CallProtocol.fromJson),
servers: _readList<CallServer>(
json['servers'], (e) => _readObject(e, CallServer.fromJson)),
config: _readString(json['config']),
encryptionKey: _readString(json['encryption_key']),
emojis: _readList<String>(json['emojis'], _readString),
allowP2p: _readBool(json['allow_p2p']),
);