filter method Null safety

void filter(
  1. List<StackFrame> stackFrames,
  2. List<String?> reasons
)

Filters the list of StackFrames by updating corresponding indices in reasons.

To elide a frame or number of frames, set the string.

Implementation

void filter(List<StackFrame> stackFrames, List<String?> reasons);