GET class final

Declares a GET route.

Inheritance

Constructors

GET(String path, {int? status, String? summary, String? description, List<String> tags = const [], List<Object> middleware = const [], String? operationId, bool deprecated = false, bool hidden = false})
Declares a GET route at path.
const

Properties

deprecated bool
Whether the operation is marked deprecated.
finalinherited
description String?
A longer description, for documentation tooling.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hidden bool
Whether the route is hidden from generated documentation.
finalinherited
method String
The HTTP method this annotation declares.
no setteroverride
middleware List<Object>
Middleware applied to this handler, appended to the controller's.
finalinherited
operationId String?
A stable id for this route. Derived from the method name when omitted.
finalinherited
path String
The route path, relative to the controller.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int?
The success status code. Derived from the return type when omitted.
finalinherited
summary String?
A one-line summary, for documentation tooling.
finalinherited
tags List<String>
Tags for this operation, appended to the controller's.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited