ChatNotificationSettings.fromJson constructor
Parse from a json
Implementation
factory ChatNotificationSettings.fromJson(Map<String, dynamic> json) => ChatNotificationSettings(
useDefaultMuteFor: json['use_default_mute_for'],
muteFor: json['mute_for'],
useDefaultSound: json['use_default_sound'],
sound: json['sound'],
useDefaultShowPreview: json['use_default_show_preview'],
showPreview: json['show_preview'],
useDefaultDisablePinnedMessageNotifications: json['use_default_disable_pinned_message_notifications'],
disablePinnedMessageNotifications: json['disable_pinned_message_notifications'],
useDefaultDisableMentionNotifications: json['use_default_disable_mention_notifications'],
disableMentionNotifications: json['disable_mention_notifications'],
);