post method

Asynchronously sends this request to the server.

The subscription is guaranteed to have been created on server when the resulting future completes.

Implementation

Future<StateSubscription<M>> post() {
    var topic = _client._requests.topic().withFilters(_type, ids: _ids, filters: _filters);
    var builderInfo = theKnownTypes.findBuilderInfo(theKnownTypes.typeUrlFrom(_type))!;
    return _client._subscribeToStateUpdates(topic, builderInfo);
}