openDndSettings method

Future<void> openDndSettings()

Opens the Do Not Disturb settings.

Does nothing if the platform is iOS, otherwise opens the DND settings from the platform instance.

Implementation

Future<void> openDndSettings() async {
  if (Platform.isIOS) {
    return;
  }
  return DoNotDisturbPlatform.instance.openDndSettings();
}