JsonRestApiResponse constructor

JsonRestApiResponse({
  1. required RequestMethod method,
  2. required String endpoint,
  3. required int statusCode,
  4. required String raw,
  5. Map<String, dynamic>? jsonObject,
  6. List? jsonArray,
})

Constructor for a new JsonRestApiResponse.

Implementation

JsonRestApiResponse({
  required this.method,
  required this.endpoint,
  required this.statusCode,
  required this.raw,
  this.jsonObject,
  this.jsonArray,
});