setUserAttributes method
Supplies attributes about the current user, for campaigns to interpolate.
Calls merge. Requires setUserId; attributes describe an identified user.
Implementation
Future<void> setUserAttributes(Map<String, dynamic> attributes) async {
if (!_initialized) {
_log.e('setUserAttributes() ignored — called before initialize()');
return;
}
await UserContextManager.instance.setUserAttributes(attributes);
}