APIRequestHandler typedef
APIRequestHandler =
FutureOr<APIResponse<T> ?> Function<T>(APIRoot apiRoot, APIRequest request)
An APIRoot APIRequest handler.
See APIRoot.preApiRequestHandlers and APIRoot.posApiRequestHandlers.
Implementation
typedef APIRequestHandler = FutureOr<APIResponse<T>?> Function<T>(
APIRoot apiRoot, APIRequest request);