Handles.put constructor

const Handles.put(
  1. String? pattern, {
  2. String? pipeline,
  3. int? priority,
})

Constructor with the HTTP PUT method.

Implementation

const Handles.put(this.pattern, {String? pipeline, int? priority})
    : httpMethod = 'PUT',
      pipeline = pipeline ?? ServerPipeline.defaultName,
      priority = priority ?? 0;