HttpRequest constructor

HttpRequest({
  1. Map<String, dynamic>? headers,
  2. Map<String, dynamic>? parameters,
  3. Object? body,
  4. DateTime? time,
  5. Map<String, dynamic>? additionalData,
})

Implementation

HttpRequest({
  this.headers,
  this.parameters,
  Object? body,
  this.time,
  this.additionalData,
}) : body = Utils.tryParseJson(body);