GetRobotPartsResponse constructor

GetRobotPartsResponse({
  1. Iterable<RobotPart>? parts,
})

Implementation

factory GetRobotPartsResponse({
  $core.Iterable<RobotPart>? parts,
}) {
  final $result = create();
  if (parts != null) {
    $result.parts.addAll(parts);
  }
  return $result;
}