VisitorExposed.fromJson constructor

VisitorExposed.fromJson(
  1. Map<String, dynamic> json
)

Implementation

VisitorExposed.fromJson(Map<String, dynamic> json) {
  this.id = (json["id"] as String?) ?? "";
  this.anonymousId = (json["anonymousId"] as String?) ?? "";
  this.context = (json["context"] as Map<String, dynamic>?) ?? {};
}