Endpoint constructor

const Endpoint({
  1. required String path,
  2. required String method,
  3. required String name,
  4. required String responseType,
  5. required List<Parameter> parameters,
  6. required bool requiresAuthentication,
  7. String? requestType,
  8. String? paramsType,
})

Implementation

const Endpoint({
  required this.path,
  required this.method,
  required this.name,
  required this.responseType,
  required this.parameters,
  required this.requiresAuthentication,
  this.requestType,
  this.paramsType,
});