Endpoint.put constructor

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

Implementation

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