RequestModel constructor

RequestModel({
  1. required RequestTypeE type,
  2. required String url,
  3. required Map<String, String> headers,
  4. required bool isError,
  5. Map<String, dynamic>? body,
  6. String? response,
  7. String? stackTrace,
})

Implementation

RequestModel(
    {required this.type,
    required this.url,
    required this.headers,
    required this.isError,
    this.body,
    this.response,
    this.stackTrace});