createStackTrace method
Implementation
String? createStackTrace(NoticeRecord record) {
if (record.error == null) return null;
var trace = Trace.from(record.stackTrace);
if (terseStackTracs) {
trace = trace.terse;
}
return trace.terse.toString().trim();
}