AdropConsentResult class
Consent request result
Constructors
- AdropConsentResult.new({required AdropConsentStatus status, required bool canRequestAds, required bool canShowPersonalizedAds, String? error})
- AdropConsentResult.fromMap(Map map)
-
factory
Properties
- canRequestAds → bool
-
Whether ads can be requested (core value)
final
- canShowPersonalizedAds → bool
-
Whether personalized ads can be shown
final
- error → String?
-
Error message (if any)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → AdropConsentStatus
-
Consent status
final
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