fields method

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

Implementation

@override
List<NUIEntField> fields() {
  return [
    NUIEntField<NUIHttpStandardErrorResponse>(name: "timestamp", type: NUIEntType.STRING, setter: (data, value) => data.timestamp = value, getter: (data) => data.timestamp),
    NUIEntField<NUIHttpStandardErrorResponse>(name: "status", type: NUIEntType.INTEGER, setter: (data, value) => data.status = value, getter: (data) => data.status),
    NUIEntField<NUIHttpStandardErrorResponse>(name: "error", type: NUIEntType.STRING, setter: (data, value) => data.error = value, getter: (data) => data.error),
    NUIEntField<NUIHttpStandardErrorResponse>(name: "message", type: NUIEntType.STRING, setter: (data, value) => data.message = value, getter: (data) => data.message),
    NUIEntField<NUIHttpStandardErrorResponse>(name: "path", type: NUIEntType.STRING, setter: (data, value) => data.path = value, getter: (data) => data.path),
  ];
}