controller property

FractalCtrl<Fractal> controller
final

Implementation

static final controller = FractalCtrl(
  name: 'fractal',
  make: (m) => Fractal(),
  attributes: <Attr>[
    idAttr,
    Attr(
      name: 'stored_at',
      format: FormatF.integer,
      isIndex: true,
    ),
    Attr(
      name: 'type',
      format: FormatF.text,
      isIndex: true,
    ),
    Attr(
      name: 'kind',
      format: FormatF.integer,
      def: '0',
    ),
    Attr(
      name: 'url',
      format: FormatF.text,
    ),
  ],
);