toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (directUserRequest != null) 'directUserRequest': directUserRequest!,
      if (ipAddress != null) 'ipAddress': ipAddress!,
      if (userAgent != null) 'userAgent': userAgent!,
      if (userId != null) 'userId': userId!,
      if (visitorId != null) 'visitorId': visitorId!,
    };