ChatSilentModeParam.silentModeInterval constructor

ChatSilentModeParam.silentModeInterval(
  1. {required ChatSilentModeTime? startTime,
  2. required ChatSilentModeTime? endTime}
)

Set the start time of offline push DND, you need to create the start time and end time together.

Param startTime Do not disturb start time.

Param endTime Do not disturb end time.

Implementation

ChatSilentModeParam.silentModeInterval({
  required this.startTime,
  required this.endTime,
})  : this.silentDuration = null,
      this.remindType = null,
      this._paramType = ChatSilentModeParamType.SILENT_MODE_INTERVAL;