addSessionProperties static method

Future<void> addSessionProperties(
  1. Map<String, String> properties
)

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/DD format.
  • 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);
}