StatsigUser class

Constructors

StatsigUser({String userId = "", String? email, String? ip, String? country, String? locale, String? appVersion, Map<String, dynamic>? custom, Map<String, String>? customIds, Map<String, dynamic>? privateAttributes})
StatsigUser.fromJson(Map<String, dynamic> json)

Properties

appVersion String?
The current version of the app
getter/setter pair
country String?
The country location of the user
getter/setter pair
custom Map<String, dynamic>?
Any additional custom user attributes for custom conditions in the console
getter/setter pair
customIds Map<String, String>?
The custom identifiers associated with this user.
getter/setter pair
email String?
An email associated with the current user.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ip String?
The ip address of the requests for the user.
getter/setter pair
locale String?
The locale for the user
getter/setter pair
privateAttributes Map<String, dynamic>?
Any user attributes that should be used in evaluation only and removed in any logs.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String
A unique identifier for the user.
getter/setter pair

Methods

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

Operators

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