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;
}