openDoNotDisturbSettings method Null safety
Opens Do not Disturb access
permission applications list.
await RealVolume.openDoNotDisturbSettings();
Implementation
static Future<bool?> openDoNotDisturbSettings() async {
if (Platform.isIOS) return null;
final bool result =
(await _methodChannel.invokeMethod('openDoNotDisturbSettings')) ??
false;
return result;
}