SetVelocityRequest constructor

SetVelocityRequest({
  1. String? name,
  2. Vector3? linear,
  3. Vector3? angular,
  4. Struct? extra,
})

Implementation

factory SetVelocityRequest({
  $core.String? name,
  $14.Vector3? linear,
  $14.Vector3? angular,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (linear != null) {
    $result.linear = linear;
  }
  if (angular != null) {
    $result.angular = angular;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}