UpdateSecretChat.fromJson constructor

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

Parse from a json

Implementation

factory UpdateSecretChat.fromJson(Map<String, dynamic> json) =>
    UpdateSecretChat(
      secretChat: SecretChat.fromJson(json['secret_chat']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );