Purpose class
Constructors
-
Purpose({int? purposeId, Map<
String, String> ? purposeName, Map<String, String> ? purposeDescription, List<SDK> ? sdks, ConsentStatus? consentStatus, bool? disableOptOut, Map<String, String> ? optOutText, bool? hideDetails, bool isGADMapped = false, Map<String, String> gadDescription = const {}}) -
Purpose.fromJson(Map<
String, dynamic> json) -
factory
Properties
- consentStatus → ConsentStatus?
-
final
- disableOptOut → bool?
-
final
-
gadDescription
→ Map<
String, String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideDetails → bool?
-
final
- isGADMapped → bool
-
final
-
optOutText
→ Map<
String, String> ? -
final
-
purposeDescription
→ Map<
String, String> ? -
final
- purposeId → int?
-
final
-
purposeName
→ Map<
String, String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sdks
→ List<
SDK> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited