getStackTrace method

Iterable<WipConsoleCallFrame> getStackTrace()

Implementation

Iterable<WipConsoleCallFrame> getStackTrace() {
  if (_message.containsKey('stackTrace')) {
    return (params!['stackTrace'] as List).map((frame) =>
        WipConsoleCallFrame.fromMap(frame as Map<String, dynamic>));
  } else {
    return [];
  }
}