setPushToken method

Future<void> setPushToken(
  1. String token
)

Sets the push token, which is obtained using the Push Kit. note This function is specifically used by Android Platforms.

Implementation

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