AjaxRequest constructor

AjaxRequest({
  1. AjaxRequestAction? action,
  2. dynamic data,
  3. AjaxRequestEvent? event,
  4. AjaxRequestHeaders? headers,
  5. bool? isAsync,
  6. String? method,
  7. String? password,
  8. AjaxRequestReadyState? readyState,
  9. dynamic response,
  10. Map<String, dynamic>? responseHeaders,
  11. String? responseText,
  12. String? responseType,
  13. WebUri? responseURL,
  14. String? responseXML,
  15. int? status,
  16. String? statusText,
  17. WebUri? url,
  18. String? user,
  19. bool? withCredentials,
})

Implementation

AjaxRequest({
  AjaxRequestAction? action,
  this.data,
  this.event,
  this.headers,
  this.isAsync,
  this.method,
  this.password,
  this.readyState,
  this.response,
  this.responseHeaders,
  this.responseText,
  this.responseType,
  this.responseURL,
  this.responseXML,
  this.status,
  this.statusText,
  this.url,
  this.user,
  this.withCredentials,
}) : action = action ?? AjaxRequestAction.PROCEED;