Skip to content

User Guide: SDKs > Flutter SDK > Invoking an Integration Service

Invoking an Integration Service

// Sample code to fetch the integration service details
var voltmxSdkFlutter = VoltmxSdkFlutter();
var serviceName = "<Your serviceName here>";
var operationName = "<Your operationName here>";
Map<String, String> params = {};
Map<String, String> headers = {};
voltmxSdkFlutter.invokeIntegrationService(serviceName, operationName, params, headers, onSuccess: (response) {
    // Handle the success case here
}, onFailure: (response) {
    // Handle the failure case here
});