Attr.fromMap constructor

Attr.fromMap(
  1. MP d, {
  2. required List<bool> setup,
})

Implementation

Attr.fromMap(
  super.d, {
  required List<bool> setup,
})  : bits = intToBits(d['setup'] ?? 0),
      format = FormatF.values[d['format'] ?? 0],
      def = "${d['def'] ?? ''}",
      isImmutable = setup[0],
      isUnique = setup[1],
      isIndex = setup[2],
      isPrivate = setup[3],
      canNull = setup[4],
      skipCreate = setup[5],
      super.fromMap();