GetRobotPartResponse constructor

GetRobotPartResponse({
  1. RobotPart? part,
  2. String? configJson,
})

Implementation

factory GetRobotPartResponse({
  RobotPart? part,
  $core.String? configJson,
}) {
  final $result = create();
  if (part != null) {
    $result.part = part;
  }
  if (configJson != null) {
    $result.configJson = configJson;
  }
  return $result;
}