setMyPushTriggerOption method Null safety

Future<void> setMyPushTriggerOption(
  1. GroupChannelPushTriggerOption option
)

Sets current user's push trigger option on this channel.

Implementation

Future<void> setMyPushTriggerOption(
  GroupChannelPushTriggerOption option,
) async {
  final result = await _sdk.api.setGroupChannelPushTriggerOption(
    channelUrl: channelUrl,
    option: option,
  );
  myPushTriggerOption = result;
}