ProxyTypeMtproto.fromJson constructor

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

Parses a ProxyTypeMtproto from TDLib JSON.

Implementation

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