Plan constructor

Plan({
  1. String? id,
  2. @Deprecated('This field is deprecated.') ResourceName? componentNameDeprecated,
  3. String? executionId,
  4. Iterable<PlanStep>? steps,
  5. String? componentName,
})

Implementation

factory Plan({
  $core.String? id,
@$core.Deprecated('This field is deprecated.')
  $16.ResourceName? componentNameDeprecated,
  $core.String? executionId,
  $core.Iterable<PlanStep>? steps,
  $core.String? componentName,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (componentNameDeprecated != null) {
    // ignore: deprecated_member_use_from_same_package
    $result.componentNameDeprecated = componentNameDeprecated;
  }
  if (executionId != null) {
    $result.executionId = executionId;
  }
  if (steps != null) {
    $result.steps.addAll(steps);
  }
  if (componentName != null) {
    $result.componentName = componentName;
  }
  return $result;
}