enableMobilePushWhenPCOnline method Null safety

Future<NIMResult<void>> enableMobilePushWhenPCOnline(
  1. {required bool enable}
)

Specify whether to push notifications to the mobile application if the current user is logged on to a Web or PC application simultaneously.

enable true: push notifications; false: not push notifications

Implementation

Future<NIMResult<void>> enableMobilePushWhenPCOnline({
  required bool enable,
}) {
  return _platform.enableMobilePushWhenPCOnline(enable);
}