Api<I, O> class Null safety

A class that abstracts the server API.

Implementers

Constructors

Api(String name)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
name → dynamic
A logical name of API.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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