SecretChat.fromJson constructor
Parse from a json
Implementation
factory SecretChat.fromJson(Map<String, dynamic> json) => SecretChat(
id: json['id'],
userId: json['user_id'],
state: SecretChatState.fromJson(json['state']),
isOutbound: json['is_outbound'],
keyHash: json['key_hash'],
layer: json['layer'],
extra: json['@extra'],
clientId: json['@client_id'],
);