controller property

GroupCtrl<GroupFractal> controller
final

Implementation

static final controller = GroupCtrl(
  extend: NodeFractal.controller,
  make: (d) => switch (d) {
    MP() => GroupFractal.fromMap(d),
    Object() || null => throw ('wrong event type')
  },
  attributes: [
    Attr(
      name: 'group',
      format: FormatF.text,
      canNull: true,
      isImmutable: true,
    ),
  ],
  //indexes: {},
);