SemanticsNode debugSemantics

The semantics of this render object.

Exposed only for testing and debugging. To learn about the semantics of render objects in production, register as a listener using SemanticsNode.addListener.

Only valid when asserts are enabled. In release builds, always returns null.

Source

SemanticsNode get debugSemantics {
  SemanticsNode result;
  assert(() {
    result = _semantics;
    return true;
  });
  return result;
}