fields method
List<NUIEntField>
fields(
)
override
Implementation
@override
List<NUIEntField> fields() {
return [
NUIEntField<NUIStandardHttpResponse>(name: "message", type: NUIEntType.STRING, setter: (data, value) => data.message = value, getter: (data) => data.message),
NUIEntField<NUIStandardHttpResponse>(name: "code", type: NUIEntType.INTEGER, setter: (data, value) => data.code = value, getter: (data) => data.code),
NUIEntField<NUIStandardHttpResponse>(name: "success", type: NUIEntType.BOOLEAN, setter: (data, value) => data.success = value, getter: (data) => data.success),
NUIEntField<NUIStandardHttpResponse>(name: "status", type: NUIEntType.BOOLEAN, setter: (data, value) => data.status = value, getter: (data) => data.status),
NUIEntField<NUIStandardHttpResponse>(name: "data", type: NUIEntType.MAP, setter: (data, value) => data.data = value, getter: (data) => data.data),
];
}