GetPoseRequest constructor

GetPoseRequest({
  1. String? name,
  2. @Deprecated('This field is deprecated.') ResourceName? componentNameDeprecated,
  3. String? destinationFrame,
  4. Iterable<Transform>? supplementalTransforms,
  5. String? componentName,
  6. Struct? extra,
})

Implementation

factory GetPoseRequest({
  $core.String? name,
@$core.Deprecated('This field is deprecated.')
  $16.ResourceName? componentNameDeprecated,
  $core.String? destinationFrame,
  $core.Iterable<$16.Transform>? supplementalTransforms,
  $core.String? componentName,
  $48.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (componentNameDeprecated != null) {
    // ignore: deprecated_member_use_from_same_package
    $result.componentNameDeprecated = componentNameDeprecated;
  }
  if (destinationFrame != null) {
    $result.destinationFrame = destinationFrame;
  }
  if (supplementalTransforms != null) {
    $result.supplementalTransforms.addAll(supplementalTransforms);
  }
  if (componentName != null) {
    $result.componentName = componentName;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}