onParsedStackTrace property
Called with the ParsedStackTrace produced by reportError before it is forwarded to native. Set this in integration tests to capture and assert on the parsed payload without intercepting the method channel.
Important: This is a static field shared across all test runs. Always
reset it to null in tearDown to prevent test pollution.
Implementation
@visibleForTesting
static void Function(ParsedStackTrace)? onParsedStackTrace;