setPushToken static method

Future<void> setPushToken(
  1. String pushToken
)

Subscriber attribute associated with the push token for the user

pushToken Empty String or null will delete the subscriber attribute.

Implementation

static Future<void> setPushToken(String pushToken) =>
    _channel.invokeMethod('setPushToken', {'pushToken': pushToken});