ptrace function Null safety

void ptrace(
  1. {String msg = 'tracing'}
)

print trace

Implementation

void ptrace({String msg='tracing'}) {
  try {
    throw Error();
  } catch (e,t) {
    p(msg);
    p(t.toString());
  }
}