setPushTriggerOption static method

Future<void> setPushTriggerOption(
  1. PushTriggerOption option
)

Sets the current User's push trigger option. If certain channel's push trigger option is set to GroupChannelPushTriggerOption.defaultValue, it works according to the state of PushTriggerOption. If not, push messages will be triggered according to the state of GroupChannelPushTriggerOption. Refer to GroupChannelPushTriggerOption.

Implementation

static Future<void> setPushTriggerOption(PushTriggerOption option) async {
  sbLog.i(StackTrace.current, 'option: $option');
  await _instance._chat.setPushTriggerOption(option);
}