toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
  'mute_for': muteFor,
  'sound_id': soundId.toString(),
  'show_preview': showPreview,
  'use_default_mute_stories': useDefaultMuteStories,
  'mute_stories': muteStories,
  'story_sound_id': storySoundId.toString(),
  'show_story_poster': showStoryPoster,
  'disable_pinned_message_notifications': disablePinnedMessageNotifications,
  'disable_mention_notifications': disableMentionNotifications,
  '@type': constructor,
};