setNoDisturbGlobal method

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

Implementation

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