fields method

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

Implementation

@override
List<NUIEntField> fields() {
  return [
    NUIEntField<NUIAuthRenewTokenReq>(name: "refreshToken", type: NUIEntType.STRING, setter: (data, value) => data.refreshToken = value, getter: (data) => data.refreshToken),
    NUIEntField<NUIAuthRenewTokenReq>(name: "deviceInfo", type: NUIEntType.OBJECT, setter: (data, value) => data.deviceInfo = asObject(NUIAuthDeviceInfoEnt(), value) as NUIAuthDeviceInfo, getter: (data) => data.deviceInfo),
  ];
}