NUIHttpResponse<T> constructor

NUIHttpResponse<T>({
  1. required bool success,
  2. required int code,
  3. required String message,
  4. T? body,
  5. Map<String, String>? headers,
  6. List<T>? listBody,
  7. String? response,
  8. dynamic responseBody,
})

Implementation

NUIHttpResponse({
  required this.success,
  required this.code,
  required this.message,
  this.body,
  this.headers,
  this.listBody,
  this.response,
  this.responseBody
});