Transform constructor

Transform({
  1. String? referenceFrame,
  2. PoseInFrame? poseInObserverFrame,
  3. Geometry? physicalObject,
})

Implementation

factory Transform({
  $core.String? referenceFrame,
  PoseInFrame? poseInObserverFrame,
  Geometry? physicalObject,
}) {
  final $result = create();
  if (referenceFrame != null) {
    $result.referenceFrame = referenceFrame;
  }
  if (poseInObserverFrame != null) {
    $result.poseInObserverFrame = poseInObserverFrame;
  }
  if (physicalObject != null) {
    $result.physicalObject = physicalObject;
  }
  return $result;
}