Skip to main content

Flutter Managed API Service

Functions

syncManagedAPIs

Future<void> syncManagedAPIs()

Synchronizes Managed APIs from the backend and updates local storage.

Parameters: None.

getManagedAPIs

Future<List<ManagedAPI>> getManagedAPIs()

Retrieves all Managed APIs currently available in local storage.

Parameters: None.

getManagedAPI

Future<ManagedAPI?> getManagedAPI(String name)

Retrieves a single Managed API definition by its programmatic name. Returns null if the API is not found.

Parameters:

  • name: String — Programmatic name of the Managed API.

Classes

ManagedAPI

class ManagedAPI {
final String id;
final String name;
final String text;
final String? description;
final Map<String, String> dataMap;
}