TonConnectChallenge.fromJson constructor
Parses a TonConnectChallenge from TDLib JSON.
Implementation
factory TonConnectChallenge.fromJson(Map<String, dynamic> json) =>
TonConnectChallenge(
challenge: _readString(json['challenge']),
eventId: _readInt(json['event_id']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);