ProxyTypeWeb.fromJson constructor

ProxyTypeWeb.fromJson(
  1. Map<String, dynamic> json
)

Parses a ProxyTypeWeb from TDLib JSON.

Implementation

factory ProxyTypeWeb.fromJson(Map<String, dynamic> json) => ProxyTypeWeb(
  path: _readString(json['path']),
  secret: _readString(json['secret']),
);