deviceId top-level property

Future<String?> deviceId

确保注册成功以后调用获取deviceId

Implementation

Future<String?> get deviceId async {
  return _channel.invokeMethod("deviceId");
}