TerminalExitStatus constructor

TerminalExitStatus({
  1. num? code,
  2. TerminalExitReason? reason,
})

Implementation

factory TerminalExitStatus({
  _i2.num? code,
  _i3.TerminalExitReason? reason,
}) =>
    TerminalExitStatus._(
      code: code ?? _i6.undefined,
      reason: reason?.name,
    );