configure method Null safety
- {StackTraceMapper? mapper,
- Set<
String> ? except, - Set<
String> ? only}
Configure how stack traces are formatted.
The mapper
is used to convert JavaScript traces into Dart traces. The
except
set indicates packages whose frames should be folded away. If
only
is non-empty, it indicates packages whose frames should not be
folded away.
Implementation
void configure(
{StackTraceMapper? mapper, Set<String>? except, Set<String>? only}) {
if (mapper != null) _mapper = mapper;
if (except != null) _except = except;
if (only != null) _only = only;
}