FormStatus enum

State values for whether the user has a consent form available to them. To check whether form status has changed, an update can be requested through UserMessagingPlatform.requestConsentInfoUpdate.

Inheritance

Constructors

FormStatus()
const

Values

unknown → const FormStatus

Whether a consent form is available is unknown. An update should be requested using UserMessagingPlatform.requestConsentInfoUpdate.

available → const FormStatus

Consent forms are available and can be shown to the user using UserMessagingPlatform.showConsentForm.

unavailable → const FormStatus

Consent forms are unavailable. Showing a consent form is not required.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.
inherited

Operators

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

Constants

values → const List<FormStatus>
A constant List of the values in this enum, in order of their declaration.