createStackTrace method

String? createStackTrace(
  1. NoticeRecord record
)

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();
}