getAppMetadata static method
Retrieves global App metadata.
@remarks This function may be called before instantiating a Talk.Session, and is not authenticated. Please consider all app metadata (eg global custom fields) to be public data, and ensure that you do not store any sensitive data in app custom fields.
You can change App metadata using the TalkJS REST API.
Note that this function cannot be used to verify whether an app ID exists; it always returns valid data, even for nonexistent app IDs.
Implementation
static Future<interop.AppMetadata> getAppMetadata(String appId) {
return promiseToFuture(interop.getAppMetadata(appId));
}