TonConnectSessionEventId.fromJson constructor

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

Parses a TonConnectSessionEventId from TDLib JSON.

Implementation

factory TonConnectSessionEventId.fromJson(Map<String, dynamic> json) =>
    TonConnectSessionEventId(
      eventId: _readInt(json['event_id']),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );