Kind constructor

const Kind({
  1. String? name,
  2. IdType idType = IdType.Integer,
})

Annotation specifying the name of this kind and whether to use integer or string ids.

If name is omitted, it will default to the name of class to which this annotation is attached to.

Implementation

const Kind({this.name, this.idType = IdType.Integer});