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