DeepLinkInfo.fromJson constructor

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

Parses a DeepLinkInfo from TDLib JSON.

Implementation

factory DeepLinkInfo.fromJson(Map<String, dynamic> json) => DeepLinkInfo(
      text: _readObject(json['text'], FormattedText.fromJson),
      needUpdateApplication: _readBool(json['need_update_application']),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );