HandlerDoc class

Constructors

HandlerDoc({String? name, String? description, List<HeaderField>? headers, List<BodyField>? body})

Properties

body → List<BodyField>?
final
description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
headers → List<HeaderField>?
final
method → HttpMethod
no setter
name → String?
final
path → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

insertBody(List<BodyField> field) → void
insertHeader(List<HeaderField> field) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setMethod(HttpMethod method) → void
setPath(String path) → void
toString() → String
A string representation of this object.
inherited

Operators

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