customize method
Parse StackTrace and convert to CustomStackTrace.
Implementation
@override
CustomStackTrace customize(StackTrace stackTrace, [int skip = 0]) {
assert(skip >= 0);
if (stackTrace is CustomStackTrace) {
return stackTrace;
}
return CustomStackTrace(stackTrace, skip);
}