HttpResponse constructor

HttpResponse({
  1. int? statusCode,
  2. String? statusMessage,
  3. Map<String, dynamic>? headers,
  4. Object? body,
  5. DateTime? time,
  6. Map<String, dynamic>? additionalData,
})

Implementation

HttpResponse({
  this.statusCode,
  this.statusMessage,
  this.headers,
  Object? body,
  this.time,
  this.additionalData,
}) : body = Utils.tryParseJson(body);