TMeUrls.fromJson constructor

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

Parses a TMeUrls from TDLib JSON.

Implementation

factory TMeUrls.fromJson(Map<String, dynamic> json) => TMeUrls(
  urls: _readList<TMeUrl>(
    json['urls'],
    (e) => _readObject(e, TMeUrl.fromJson),
  ),
  extra: json['@extra'],
  clientId: _readClientId(json['@client_id']),
);