Handles.get constructor
Constructor with the HTTP GET method.
The pattern
is the string representation of the pattern to match.
The optional pipeline
name identifies the pipeline the rule is for, and
priority
controls the order in which the rule is added to the pipeline.
Implementation
const Handles.get(this.pattern, {String? pipeline, int? priority})
: httpMethod = 'GET',
pipeline = pipeline ?? ServerPipeline.defaultName,
priority = priority ?? 0;