UserData class
Container for information about user. May be used for better targeting ads.
This data is not persistent across application restarts.
Properties
- birthday ↔ DateTime?
-
getter/setter pair
- gender ↔ Gender
-
User's gender.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
User's identifier. It is used in server-side rewarding feature.
getter/setter pair
- location ↔ Location?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getCurrent(
) → Future< UserData> - Returns current user data.