call method

Future call (String actionName, [ List args, ActionMeta actionMeta, bool allowFetchMetadata = true ])

Sends the call request to the server and returns the response. See callByRequest.

Implementation

Future<dynamic> call(String actionName,
        [List args,
        ActionMeta actionMeta,
        bool allowFetchMetadata = true]) async =>
    (await callByRequest(ActionCallRequest(actionName, args: args),
            actionMeta: actionMeta, allowFetchMetadata: allowFetchMetadata))
        .result;