HTTPResponseData<DataType> constructor

HTTPResponseData<DataType>({
  1. required Map<String, dynamic> headers,
  2. required int statusCode,
  3. required DataType data,
  4. String? error,
  5. String? statusMessage,
})

Implementation

HTTPResponseData({
  required this.headers,
  required this.statusCode,
  required this.data,
  this.error,
  this.statusMessage,
});