Subject class

Subject This class is used to access and persist user information, it represents the current user being tracked.

Annotations

Constructors

Subject({String? userId, int? viewportWidth, int? viewportHeight, int? screenResolutionWidth, int? screenResolutionHeight, int? colorDepth, String? timezone, String? language, String? ipAddress, String? userAgent, String? networkUserId, String? domainUserId})
Creates a Subject
const

Properties

colorDepth int?
colorDepth The user's color depth.
final
domainUserId String?
domainUserId The domain UID.
final
hashCode int
The hash code for this object.
no setteroverride
ipAddress String?
ipAddress The user's IP address.
final
language String?
language The user's language.
final
networkUserId String?
networkUserId The network UID.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenResolutionHeight int?
screenResolutionHeight The screen resolution height in pixels.
final
screenResolutionWidth int?
screenResolutionWidth The screen resolution width in pixels.
final
timezone String?
timezone The user's timezone.
final
userAgent String?
userAgent The user agent (also known as browser string).
final
userId String?
userId The user's ID.
final
viewportHeight int?
viewportHeight The viewport height in pixels.
final
viewportWidth int?
viewportWidth The viewport width in pixels.
final

Methods

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

Operators

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