HttpRule constructor

HttpRule({
  1. String selector = '',
  2. String? get,
  3. String? put,
  4. String? post,
  5. String? delete,
  6. String? patch,
  7. CustomHttpPattern? custom,
  8. String body = '',
  9. String responseBody = '',
  10. List<HttpRule> additionalBindings = const [],
})

Implementation

HttpRule({
  this.selector = '',
  this.get,
  this.put,
  this.post,
  this.delete,
  this.patch,
  this.custom,
  this.body = '',
  this.responseBody = '',
  this.additionalBindings = const [],
}) : super(fullyQualifiedName);