getDNDStatus method
Retrieves the current Do Not Disturb status.
Returns the current InterruptionFilter status.
Implementation
@override
Future<InterruptionFilter> getDNDStatus() async {
final int? status = await methodChannel.invokeMethod<int>('getDNDStatus');
return InterruptionFilter.fromValue(status ?? 0);
}