fromStackTrace method Null safety
- StackTrace stack
Parses a list of StackFrame
s from a StackTrace object.
This is normally useful with StackTrace.current.
Implementation
static List<StackFrame> fromStackTrace(StackTrace stack) {
assert(stack != null);
return fromStackString(stack.toString());
}