Sessions.fromJson constructor
Parses a Sessions from TDLib JSON.
Implementation
factory Sessions.fromJson(Map<String, dynamic> json) => Sessions(
sessions: _readList<Session>(
json['sessions'], (e) => _readObject(e, Session.fromJson)),
inactiveSessionTtlDays: _readInt(json['inactive_session_ttl_days']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);