InternalLinkTypeMyProfilePage.fromJson constructor

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

Parses a InternalLinkTypeMyProfilePage from TDLib JSON.

Implementation

factory InternalLinkTypeMyProfilePage.fromJson(Map<String, dynamic> json) =>
    InternalLinkTypeMyProfilePage(
      section: _readString(json['section']),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );