UpdateNotificationGroup.fromJson constructor
Parse from a json
Implementation
factory UpdateNotificationGroup.fromJson(Map<String, dynamic> json) => UpdateNotificationGroup(
notificationGroupId: json['notification_group_id'],
type: NotificationGroupType.fromJson(json['type']),
chatId: json['chat_id'],
notificationSettingsChatId: json['notification_settings_chat_id'],
isSilent: json['is_silent'],
totalCount: json['total_count'],
addedNotifications: List<Notification>.from((json['added_notifications'] ?? []).map((item) => Notification.fromJson(item)).toList()),
removedNotificationIds: List<int>.from((json['removed_notification_ids'] ?? []).map((item) => item).toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);