updateDoNotDisturb method

Future<NotificareDeviceDnD> updateDoNotDisturb(
  1. NotificareDeviceDnD dnd
)

Implementation

Future<NotificareDeviceDnD> updateDoNotDisturb(
    NotificareDeviceDnD dnd) async {
  Map<String, dynamic>? json = await _methodChannel
      .invokeMapMethod('updateDoNotDisturb', {'dnd': dnd});
  return NotificareDeviceDnD.fromJson(json!);
}