controller property
Implementation
static final controller = AttrCtrl(
extend: NodeFractal.controller,
make: (d) => switch (d) {
MP() => Attr.fromMap(
d,
setup: intToBits(d['setup'] ?? 0, bitLength: 8),
),
_ => throw ('wrong'),
},
attributes: <Attr>[
Attr(
name: 'format',
format: FormatF.integer,
),
Attr(
name: 'def',
format: FormatF.text,
),
Attr(
name: 'setup',
format: FormatF.integer,
),
]);