setUserAttributes method
Update User attributes
- Parameter
externalUserId: Id for identify user in a system - RetenoUser
- Parameter
userAttributes: user specific attributes in formatUserAttributes(firstName, phone, email, etc.) (optional) - Parameter
subscriptionKeys: list of subscription categories keys, can be empty - Parameter
groupNamesInclude: list of group ID to add a contact to, can be empty - Parameter
groupNamesExclude: list of group ID to remove a contact from, can be empty
- Parameter
Implementation
Future<bool> setUserAttributes({
required String userExternalId,
RetenoUser? user,
}) {
return _platform.setUserAttributes(userExternalId, user);
}