UserStatus class Null safety

User Status Type used to represent the user status. This contains all the choices made by the user on the Didomi SDK and other related information such as consent string and dates when the status was created or updated. Essential purposes are considered as enabled in computed/global properties.

Constructors

UserStatus.fromJson(dynamic json)

Properties

additionalConsent String?
Additional consent
read / write
consentString String?
TCF consent as string
read / write
created String?
User choices creation date
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
purposes Purposes?
Property that contains the user status associated to purposes.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updated String?
User choices update date
read / write
userId String?
Didomi user id
read / write
vendors Vendors?
Property that contains the user status associated to vendors.
read / write

Methods

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

Operators

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