KuzzleRequest constructor

KuzzleRequest({
  1. String? action,
  2. Map<String, dynamic>? body,
  3. String? collection,
  4. String? controller,
  5. String? index,
  6. String? jwt,
  7. String? lang,
  8. String? requestId,
  9. bool? waitForRefresh,
  10. bool? force,
  11. String? uid,
  12. Map<String, dynamic>? volatile,
  13. DateTime? startTime,
  14. DateTime? stopTime,
  15. String? strategy,
  16. String? expiresIn,
  17. int? from,
  18. int? size,
  19. String? type,
  20. String? scroll,
  21. String? scrollId,
  22. List? sort,
  23. int? retryOnConflict,
  24. bool? reset,
  25. String? scope,
  26. String? state,
  27. bool? source,
  28. String? userId,
  29. String? users,
  30. String? verb,
  31. bool? includeKuzzleMeta,
})

Implementation

KuzzleRequest(
    {this.action,
    this.body,
    this.collection,
    this.controller,
    this.index,
    this.jwt,
    this.lang,
    this.requestId,
    this.waitForRefresh,
    this.force,
    this.uid,
    this.volatile,
    this.startTime,
    this.stopTime,
    this.strategy,
    this.expiresIn,
    this.from,
    this.size,
    this.type,
    this.scroll,
    this.scrollId,
    this.sort,
    this.retryOnConflict,
    this.reset,
    this.scope,
    this.state,
    this.source,
    this.userId,
    this.users,
    this.verb,
    this.includeKuzzleMeta}) {
  requestId ??= _uuid.v4();
}