SourceCodeInfo_Location constructor
SourceCodeInfo_Location({})
Implementation
factory SourceCodeInfo_Location({
$core.Iterable<$core.int>? path,
$core.Iterable<$core.int>? span,
$core.String? leadingComments,
$core.String? trailingComments,
$core.Iterable<$core.String>? leadingDetachedComments,
}) {
final _result = create();
if (path != null) {
_result.path.addAll(path);
}
if (span != null) {
_result.span.addAll(span);
}
if (leadingComments != null) {
_result.leadingComments = leadingComments;
}
if (trailingComments != null) {
_result.trailingComments = trailingComments;
}
if (leadingDetachedComments != null) {
_result.leadingDetachedComments.addAll(leadingDetachedComments);
}
return _result;
}