buildXml method
void
buildXml(})
override
Implementation
@override
void buildXml(
XmlBuilder builder, {
String tag = 'Vector2D',
String? namespace = Xmlns.tt,
}) =>
builder.element(tag, nest: () {
builder.namespace(namespace!);
builder.attribute('x', x);
builder.attribute('y', y);
if (space != null) {
builder.attribute('space', space!.value);
}
});