RequestModel constructor

RequestModel({
  1. Map<String, dynamic>? requestHeader,
  2. Map<String, List<String>>? responseHeader,
  3. String? url,
  4. int? requestContentLength,
  5. int? responseContentLength,
  6. bool isFormatedResponse = false,
  7. String? curl,
  8. MockApi? mockApi,
  9. int? totalFilesSize,
  10. dynamic response,
  11. int? startTime,
  12. int? endTime,
  13. dynamic requestBody,
  14. Map<String, dynamic>? queryParams,
  15. String? message,
  16. int? httpCode,
  17. String? method,
  18. List<UploadFile>? uploadFiles,
  19. bool? isSuccess,
  20. int? responseTime,
  21. String? responseCode,
  22. String? responseCodeTitle,
  23. int? id,
})

Implementation

RequestModel(
    {this.requestHeader,
    this.responseHeader,
    this.url,
    this.requestContentLength,
    this.responseContentLength,
    this.isFormatedResponse = false,
    this.curl,
    this.mockApi,
    this.totalFilesSize,
    this.response,
    this.startTime,
    this.endTime,
    this.requestBody,
    this.queryParams,
    this.message,
    this.httpCode,
    this.method,
    this.uploadFiles,
    this.isSuccess,
    this.responseTime,
    this.responseCode,
    this.responseCodeTitle,
    this.id});