getRegisteredId static method

Future<String?> getRegisteredId()

获取推送id

Implementation

static Future<String?> getRegisteredId() async {
  return await _channel.invokeMethod(_METHOD_DEVICE_TOKEN);
}