SubjectConfiguration class Initialization and configuration

Subject information about tracked user and device that is added to events.

Annotations

Constructors

SubjectConfiguration({String? userId, String? networkUserId, String? domainUserId, String? userAgent, String? ipAddress, String? timezone, String? language, Size? screenResolution, Size? screenViewport, double? colorDepth})
const

Properties

colorDepth double?
The color depth.
final
domainUserId String?
Domain user ID (UUIDv4).
final
hashCode int
The hash code for this object.
no setterinherited
ipAddress String?
Custom IP address. It overrides the IP address used by default.
final
language String?
The language set on the device.
final
networkUserId String?
Network user ID (UUIDv4).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenResolution Size?
The screen resolution on the device.
final
screenViewport Size?
The screen viewport.
final
timezone String?
The timezone label.
final
userAgent String?
Custom user-agent. It overrides the user-agent used by default.
final
userId String?
Business ID of the user.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited