StackFrame constructor Null safety
Creates a new StackFrame instance.
All parameters must not be null. The className may be the empty string if there is no class (e.g. for a top level library method).
Implementation
const StackFrame({
required this.number,
required this.column,
required this.line,
required this.packageScheme,
required this.package,
required this.packagePath,
this.className = '',
required this.method,
this.isConstructor = false,
required this.source,
}) : assert(number != null),
assert(column != null),
assert(line != null),
assert(method != null),
assert(packageScheme != null),
assert(package != null),
assert(packagePath != null),
assert(className != null),
assert(isConstructor != null),
assert(source != null);