hitVerdict static method

String hitVerdict(
  1. String groupName
)

hit, or miss:<creator>|<inspector ids up the winner's element chain> in groupName.

Implementation

static String hitVerdict(String groupName) =>
    "(h[0] as bool) ? 'hit' : ((h[1] as RenderObject?)?.debugCreator is DebugCreator "
    "? 'miss:' + ((h[1] as RenderObject).debugCreator as DebugCreator).element.widget.runtimeType.toString() "
    "+ '|' + ((h[1] as RenderObject).debugCreator as DebugCreator).element.debugGetDiagnosticChain()"
    ".take(120).map((e) => WidgetInspectorService.instance.toId(e, '$groupName')).join(',') "
    ": 'miss:')";