DVModuleRpcTransport typedef

DVModuleRpcTransport = Future<Object?> Function(String path, Map<String, Object?> arguments)

Sends one module call to the backend and answers with its JSON result.

The generated client installs one that goes through the same request path as a backend function, so the call carries the session, the CSRF token and the step-up handling every other call does.

Implementation

typedef DVModuleRpcTransport = Future<Object?> Function(
    String path, Map<String, Object?> arguments);