UserId class

Represents a user ID with its source.

Constructors

UserId({required String userId, required UserIdSource source})
Creates a new instance of UserId.
UserId.criteo(String userId)
Creates a UserId object for Criteo with the given userId.
factory
UserId.liveramp(String userId)
Creates a UserId object for liveramp with the given userId.
factory
UserId.netId(String userId)
Creates a UserId object for netId with the given userId.
factory
UserId.theTradeDesk(String userId)
Creates a UserId object for The Trade Desk with the given userId.
factory
UserId.uid2(String userId)
Creates a UserId object for uid2 with the given userId.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source UserIdSource
The source of the user ID.
final
userId String
The user ID.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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