enableOppoPush method Null safety

void enableOppoPush(
  1. String appKey,
  2. String secret
)

Enable OPPO PUSH on OPPO devices.

Param appId The app ID for OPPO PUSH.

Param appKey The app key for OPPO PUSH.

Implementation

void enableOppoPush(String appKey, String secret) {
  _pushConfig.enableOppoPush = true;
  _pushConfig.oppoAppKey = appKey;
  _pushConfig.oppoAppSecret = secret;
}