GetPoseRequest constructor
GetPoseRequest({
- String? name,
- @Deprecated('This field is deprecated.') ResourceName? componentNameDeprecated,
- String? destinationFrame,
- Iterable<
Transform> ? supplementalTransforms, - String? componentName,
- 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;
}