setPushToken method

Future<void> setPushToken(
  1. String token
)

Associates the Push Token with current user using his userToken in raw-binary form.

Implementation

Future<void> setPushToken(String token) async {
  await _channel.invokeMethod<void>(
      'notification:setPushToken', token);
}