HttpRule constructor

HttpRule({
  1. required RequestMethod method,
  2. required String pathTemplate,
  3. required List<PathSegment> segments,
  4. String? body,
  5. List<HttpRule>? additionalBindings,
})

Implementation

HttpRule({
  required this.method,
  required this.pathTemplate,
  required this.segments,
  this.body,
  List<HttpRule>? additionalBindings,
});