ChatTypeSecret.fromJson constructor

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

Parse from a json

Implementation

factory ChatTypeSecret.fromJson(Map<String, dynamic> json) => ChatTypeSecret(
      secretChatId: json['secret_chat_id'],
      userId: json['user_id'],
    );