MockErrorResponse constructor

MockErrorResponse({
  1. required int status,
  2. required String? file,
  3. required Object? body,
  4. required Map<String, String> headers,
  5. required int delayMs,
  6. required double rate,
})

Creates an error response configuration.

Implementation

MockErrorResponse({
  required this.status,
  required this.file,
  required this.body,
  required this.headers,
  required this.delayMs,
  required this.rate,
});