enablePushServiceAndroid method Null safety

Future<NIMResult<void>> enablePushServiceAndroid(
  1. bool enable
)

Enable or disable push notifications. When "false" is passed, the application will not receive any push notification from SDKs and servers of CommsEase.

Implementation

Future<NIMResult<void>> enablePushServiceAndroid(bool enable) {
  return _platform.enablePushServiceAndroid(enable);
}