APIRequestInfoObj constructor

APIRequestInfoObj({
  1. HTTPRequestType requestType = HTTPRequestType.post,
  2. Map<String, dynamic>? parameter,
  3. Map<String, String>? headers,
  4. List<UploadDocumentObj> docList = const [],
  5. required String url,
  6. String serviceName = "",
  7. int timeSecond = 90,
})

Constructor for the APIRequestInfoObj class.

Initializes the class with the provided details for the API call.

Implementation

APIRequestInfoObj({
  this.requestType = HTTPRequestType.post,
  this.parameter,
  this.headers,
  this.docList = const [],
  required this.url,
  this.serviceName = "",
  this.timeSecond = 90,
});