fields method

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

Implementation

@override
List<NUIEntField> fields() {
  return [
    NUIEntField<NUIAppConfig>(name: "appId", type: NUIEntType.STRING, setter: (data, value) => data.appId = value, getter: (data) => data.appId),
    NUIEntField<NUIAppConfig>(name: "versionCode", type: NUIEntType.INTEGER, setter: (data, value) => data.versionCode = value, getter: (data) => data.versionCode),
    NUIEntField<NUIAppConfig>(name: "versionName", type: NUIEntType.STRING, setter: (data, value) => data.versionName = value, getter: (data) => data.versionName),
    NUIEntField<NUIAppConfig>(name: "releaseVersion", type: NUIEntType.STRING, setter: (data, value) => data.releaseVersion = value, getter: (data) => data.releaseVersion),
    NUIEntField<NUIAppConfig>(name: "name", type: NUIEntType.STRING, setter: (data, value) => data.name = value, getter: (data) => data.name),
    NUIEntField<NUIAppConfig>(name: "oneSignalAppId", type: NUIEntType.STRING, setter: (data, value) => data.oneSignalAppId = value, getter: (data) => data.oneSignalAppId),
    NUIEntField<NUIAppConfig>(name: "oneSignalAppRESTKey", type: NUIEntType.STRING, setter: (data, value) => data.oneSignalAppRESTKey = value, getter: (data) => data.oneSignalAppRESTKey),
    NUIEntField<NUIAppConfig>(name: "baseURL", type: NUIEntType.STRING, setter: (data, value) => data.baseURL = value, getter: (data) => data.baseURL),
  ];
}