SDKs
flutter-sdk
Call backend functions

Function Calls

Prerequisite

The app must be initialized see here and user must be logged in authenticate

code snippet

// Ensure app is initialized and user is authenticated before calling the function

final response = await RemBaseUser.callFunction(
    functionName, listOfArguments, context);
 
response
    .onSuccess((data) {
      // Use data in your app (e.g., update UI or store data)
    })
    .onError((error) {
      // Handle error (e.g., show error message to the user)
    });