GetMapping.of constructor

const GetMapping.of({
  1. String path = '',
  2. List<String> headers = const [],
  3. String? produces,
  4. String? consumes,
})

Maps GET requests with every attribute by name: path, headers ('Name=value' entries), produces and consumes.

Implementation

const GetMapping.of({
  this.path = '',
  this.headers = const [],
  this.produces,
  this.consumes,
});