SerializableRequest constructor

const SerializableRequest({
  1. required String id,
  2. required String method,
  3. required String url,
  4. Map<String, String> headers = const {},
  5. String? body,
  6. String? cacheKey,
  7. int maxRetries = 3,
  8. DateTime? enqueuedAt,
})

Implementation

const SerializableRequest({
  required this.id,
  required this.method,
  required this.url,
  this.headers = const {},
  this.body,
  this.cacheKey,
  this.maxRetries = 3,
  this.enqueuedAt,
});