getStackTrace method

Future<StackTraceData> getStackTrace(
  1. StackTraceId stackTraceId
)

Returns stack trace with given stackTraceId.

Implementation

Future<runtime.StackTraceData> getStackTrace(
    runtime.StackTraceId stackTraceId) async {
  var result = await _client.send('Debugger.getStackTrace', {
    'stackTraceId': stackTraceId,
  });
  return runtime.StackTraceData.fromJson(
      result['stackTrace'] as Map<String, dynamic>);
}