KinematicModel constructor
Implementation
factory KinematicModel({
$core.String? name,
$core.Iterable<KinematicLink>? links,
$core.Iterable<KinematicJoint>? joints,
$core.Iterable<$core.String>? outputFrames,
KinematicProperties? properties,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (links != null) {
$result.links.addAll(links);
}
if (joints != null) {
$result.joints.addAll(joints);
}
if (outputFrames != null) {
$result.outputFrames.addAll(outputFrames);
}
if (properties != null) {
$result.properties = properties;
}
return $result;
}