DiagnosticsStackTrace.singleFrame constructor Null safety
Creates a diagnostic describing a single frame from a StackTrace.
Implementation
DiagnosticsStackTrace.singleFrame(
String name, {
required String frame,
super.showSeparator,
}) : super(
name: name,
properties: <DiagnosticsNode>[_createStackFrame(frame)],
style: DiagnosticsTreeStyle.whitespace,
);