fields method

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

Implementation

@override
List<NUIEntField> fields() {
  return [
    NUIEntField<NUIAuthDeviceInfo>(name: "deviceId", type: NUIEntType.STRING, setter: (data, value) => data.deviceId = value, getter: (data) => data.deviceId),
    NUIEntField<NUIAuthDeviceInfo>(name: "deviceModel", type: NUIEntType.STRING, setter: (data, value) => data.deviceModel = value, getter: (data) => data.deviceModel),
    NUIEntField<NUIAuthDeviceInfo>(name: "deviceOs", type: NUIEntType.STRING, setter: (data, value) => data.deviceOs = value, getter: (data) => data.deviceOs),
    NUIEntField<NUIAuthDeviceInfo>(name: "osVersion", type: NUIEntType.STRING, setter: (data, value) => data.osVersion = value, getter: (data) => data.osVersion),
    NUIEntField<NUIAuthDeviceInfo>(name: "ipAddress", type: NUIEntType.STRING, setter: (data, value) => data.ipAddress = value, getter: (data) => data.ipAddress),
  ];
}