WebProxyCarrier.fromJson constructor
Parses a WebProxyCarrier from TDLib JSON.
Implementation
factory WebProxyCarrier.fromJson(Map<String, dynamic> json) =>
WebProxyCarrier(
id: _readInt(json['id']),
proxyId: _readInt(json['proxy_id']),
url: _readString(json['url']),
origin: _readString(json['origin']),
pathPrefix: _readString(json['path_prefix']),
bridgeObjectName: _readString(json['bridge_object_name']),
isTemporary: _readBool(json['is_temporary']),
);