DebugInfo constructor

DebugInfo({
  1. Iterable<String>? stackEntries,
  2. String? detail,
})

Implementation

factory DebugInfo({
  $core.Iterable<$core.String>? stackEntries,
  $core.String? detail,
}) {
  final $result = create();
  if (stackEntries != null) {
    $result.stackEntries.addAll(stackEntries);
  }
  if (detail != null) {
    $result.detail = detail;
  }
  return $result;
}