Endpoint.get constructor

Endpoint.get(
  1. String name,
  2. String path, {
  3. Map<String, DslType>? variables,
  4. DslType? response,
})

Implementation

factory Endpoint.get(
  String name,
  String path, {
  Map<String, DslType>? variables,
  DslType? response,
}) => Endpoint._(
  name: name,
  method: HttpMethod.get,
  path: path,
  variables: variables,
  response: response,
);