addSessionProperties static method
Adds properties to the session. The properties will be sent along any analytic events.
Any new properties in the map will be added to the session properties. If a property already exists, the new value takes precedence and will override the existing value.
@remarks
- Any date that would be a part of the properties map should be sent in the
YYYY/MM/DDformat. - In cases when you want to clear out the stored session properties, you can call the
clearSessionProperties()method.
@param properties A map of custom session properties.
Implementation
static Future<void> addSessionProperties(Map<String, String> properties) {
return DevRevSDKPlatform.instance.addSessionProperties(properties);
}