setNoDisturbGlobal method

Future<void> setNoDisturbGlobal (
  1. {@required bool isNoDisturb}
)

Implementation

Future<void> setNoDisturbGlobal({ @required bool isNoDisturb}) async {
  await _channel.invokeMethod('setNoDisturbGlobal', {
    'isNoDisturb': isNoDisturb
    }..removeWhere((key, value) => value == null));
  return;
}