SDKsFlutter
Set the group extension field
Set an application-defined group extension string with the OpenIM Flutter SDK.
await OpenIM.iMManager.groupManager.setGroupInfo(
GroupInfo(
groupID: groupID,
ex: mergedExtensionJSON,
),
);ex is a complete string value; the SDK does not merge JSON automatically. Read the previous value, preserve namespaces owned by other modules, and serialize updates through one state layer.
After the Future succeeds, reconcile the final group profile through onGroupInfoChanged or another query.
Was this page helpful?