Visitor constructor

Visitor(
  1. FlagshipConfig config,
  2. String visitorId,
  3. Map<String, Object> context
)

Create new instance for visitor

config: this object manage the mode of the sdk and other params visitorId : the user ID for the visitor context : Map that represent the conext for the visitor

Implementation

Visitor(this.config, this.visitorId, Map<String, Object> context) {
  this.updateContextWithMap(context);
}