MetaConsumer class

A method annotated with @Consumes.

Kept separate from MetaMethod rather than folded into it: a consumer has no HTTP verb, no path and no request to bind from, so every field they would share is one that does not apply.

Constructors

MetaConsumer({required String name, required String topic, required String group, required List<MetaParam> params})
const

Properties

group → String
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The Dart method name.
final
params → List<MetaParam>
The handler's parameters.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topic → String
final

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