controller property

FileCtrl<FileFractal> controller
final

Implementation

static final controller = FileCtrl(
  make: (d) => switch (d) {
    MP() => FileFractal.fromMap(d),
    Object() || null => throw ('wrong event type')
  },
  extend: NodeFractal.controller,
  attributes: [],
);