setPushToken method
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);
}