setPushRegistrationID static method

Future<void> setPushRegistrationID(
  1. String token
)

Set the FCM Registration ID.

Implementation

static Future<void> setPushRegistrationID(String token) async {
  if (Platform.isAndroid) {
    await _channel.invokeMethod('setPushRegistrationID', token);
  }
}