fromJson static method
Inherited by: ProxyTypeHttp ProxyTypeMtproto ProxyTypeSocks5
Implementation
static ProxyTypeMtproto? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ProxyTypeMtproto(secret: (json['secret'] as String?) ?? '');
}