setMuteAllPushNotifications method

Future<void> setMuteAllPushNotifications(
  1. bool muted
)

Implementation

Future<void> setMuteAllPushNotifications(bool muted) async {
  await setPushRuleEnabled(
    'global',
    PushRuleKind.override,
    '.m.rule.master',
    muted,
  );
  return;
}