UpdateChatNotificationSettings.fromJson constructor

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

Parse from a json

Implementation

factory UpdateChatNotificationSettings.fromJson(Map<String, dynamic> json) =>
    UpdateChatNotificationSettings(
      chatId: json['chat_id'],
      notificationSettings:
          ChatNotificationSettings.fromJson(json['notification_settings']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );