gotoHomePosition static method
XML for the gotoHomePosition, requires a profileToken
and optionally PtzSpeed
Implementation
static XmlDocumentFragment gotoHomePosition(
String profileToken, {
PtzSpeed? speed,
}) {
builder.element('GotoHomePosition', nest: () {
builder.namespace(Xmlns.tptz);
ReferenceToken(profileToken).buildXml(builder);
speed?.buildXml(
builder,
tag: 'Speed',
namespace: Xmlns.tptz,
);
});
return builder.buildFragment();
}