CurrentUserStatusTransaction class
Class used to contain all the operations related to transactions.
All the changes regarding the status of purposes and vendors will
only be communicated to the native SDKs once the commit
method is called.
Constructors
- CurrentUserStatusTransaction(CurrentUserStatusTransactionCallback _nativeCallback)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
commit(
) → Future< bool> - Communicate changes made through this class to the native SDK.
-
disablePurpose(
String id) → CurrentUserStatusTransaction - Disable a single purpose.
-
disablePurposes(
List< String> ids) → CurrentUserStatusTransaction - Disable multiple purposes.
-
disableVendor(
String id) → CurrentUserStatusTransaction - Disable a single vendor.
-
disableVendors(
List< String> ids) → CurrentUserStatusTransaction - Disable multiple vendors.
-
enablePurpose(
String id) → CurrentUserStatusTransaction - Enable a single purpose.
-
enablePurposes(
List< String> ids) → CurrentUserStatusTransaction - Enable multiple purposes.
-
enableVendor(
String id) → CurrentUserStatusTransaction - Enable a single vendor.
-
enableVendors(
List< String> ids) → CurrentUserStatusTransaction - Enable multiple vendors.
-
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