onNewHmsPushToken static method

dynamic onNewHmsPushToken(
  1. String token
)

Sends a new Huawei Mobile Services (HMS) push token to LogDrop.

token is the HMS push token string.

Implementation

static onNewHmsPushToken(String token) {
  _channel.invokeMethod(MethodNames.onNewHmsPushToken, {'token': token});
}