IQueryHandler<TQuery extends IQuery<TResult>, TResult> class abstract interface

A handler for queries that implements the IActionHandler interface.

Query handlers process queries and return data without modifying application state.

Each query type must have exactly one handler.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handle(TQuery query) Future<TResult>
Handles the given query and returns the requested data.
override
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