fields method

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

Implementation

@override
List<NUIEntField> fields() {
  return [
    NUIEntField<NUIConditionMatrix>(name: "defaultVal", type: NUIEntType.STRING, setter: (data, value) => data.defaultVal = value, getter: (data) => data.defaultVal),
    NUIEntField<NUIConditionMatrix>(name: "defaultValRaw", type: NUIEntType.OBJECT, setter: (data, value) => data.defaultValRaw = asObject(NUIConditionValueEnt(), value), getter: (data) => data.defaultValRaw),
    NUIEntField<NUIConditionMatrix>(name: "defaultValues", type: NUIEntType.LIST_STRING, setter: (data, value) => data.defaultValues = asList<String>(value), getter: (data) => data.defaultValues),
    NUIEntField<NUIConditionMatrix>(name: "defaultValuesRaw", type: NUIEntType.LIST_OBJECT, setter: (data, value) => data.defaultValuesRaw = asListOfObjects(NUIConditionValueEnt(), value), getter: (data) => data.defaultValuesRaw),
    NUIEntField<NUIConditionMatrix>(name: "logics", type: NUIEntType.LIST_OBJECT, setter: (data, value) => data.logics = asListOfObjects(NUIConditionCombinationEnt(), value), getter: (data) => data.logics),
  ];
}