GeneratedCodeInfo_Annotation constructor

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

Implementation

factory GeneratedCodeInfo_Annotation({
  $core.Iterable<$core.int>? path,
  $core.String? sourceFile,
  $core.int? begin,
  $core.int? end,
}) {
  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;
  }
  return _result;
}