fields method

  1. @override
List<NUIEntField> fields()
override

Implementation

@override
List<NUIEntField> fields() {
  return [
    NUIEntField<NUIDBFieldTracker>(name: "name", type: NUIEntType.STRING, setter: (data, value) => data.name = value, getter: (data) => data.name),
    NUIEntField<NUIDBFieldTracker>(name: "type", type: NUIEntType.STRING, setter: (data, value) => data.type = value, getter: (data) => data.type),
    NUIEntField<NUIDBFieldTracker>(name: "primaryKey", type: NUIEntType.BOOLEAN, setter: (data, value) => data.primaryKey = value, getter: (data) => data.primaryKey),
  ];
}