fromStackTrace static method

List<StackFrame> fromStackTrace(
  1. StackTrace stack
)

Parses a list of StackFrames from a StackTrace object.

This is normally useful with StackTrace.current.

Implementation

static List<StackFrame> fromStackTrace(StackTrace stack) {
  return fromStackString(stack.toString());
}