GeneratedCodeInfo_Annotation constructor

GeneratedCodeInfo_Annotation({
  1. Iterable<int>? path,
  2. String? sourceFile,
  3. int? begin,
  4. int? end,
  5. GeneratedCodeInfo_Annotation_Semantic? semantic,
})

Implementation

factory GeneratedCodeInfo_Annotation({
  $core.Iterable<$core.int>? path,
  $core.String? sourceFile,
  $core.int? begin,
  $core.int? end,
  GeneratedCodeInfo_Annotation_Semantic? semantic,
}) {
  final result = create();
  if (path != null) result.path.addAll(path);
  if (sourceFile != null) result.sourceFile = sourceFile;
  if (begin != null) result.begin = begin;
  if (end != null) result.end = end;
  if (semantic != null) result.semantic = semantic;
  return result;
}