Proxy.fromJson constructor
Parses a Proxy from TDLib JSON.
Implementation
factory Proxy.fromJson(Map<String, dynamic> json) => Proxy(
server: _readString(json['server']),
port: _readInt(json['port']),
type: _readObject(json['type'], ProxyType.fromJson),
);