Trace.parseFirefox constructor Null safety

Trace.parseFirefox(
  1. String trace
)

Parses a string representation of a Firefox stack trace.

Implementation

Trace.parseFirefox(String trace)
    : this(
          trace
              .trim()
              .split('\n')
              .where((line) => line.isNotEmpty && line != '[native code]')
              .map((line) => Frame.parseFirefox(line)),
          original: trace);