Api<I, O> class abstract

A class that abstracts the server API.

Implementers

Constructors

Api(String name)

Properties

hashCode int
The hash code for this object.
no setterinherited
name → dynamic
A logical name of API.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInput(RequestContext context) → I?
Get the input DTO that is the source of the request to the server.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(I? input, RequestContext context) Future<O?>
Request to the server.
toString() String
A string representation of this object.
inherited

Operators

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