ConsentMessage class
Constructors
-
ConsentMessage(String? id, ConsentType? type, String? name, String? description, ConsentStyleConfiguration? style, int? version, int? revision, LocalizeText? displayText, LocalizeText? acceptButtonText, LocalizeText? consentDetailTitle, List<
String> ? availableLanguages, String? defaultLanguage, List<ConsentPermission> permission, LocalizeText? moreInfoButtonText)
Properties
- acceptButtonText ↔ LocalizeText?
-
getter/setter pair
-
availableLanguages
↔ List<
String> ? -
getter/setter pair
- consentDetailTitle ↔ LocalizeText?
-
getter/setter pair
- defaultLanguage ↔ String?
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- displayText ↔ LocalizeText?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
- moreInfoButtonText ↔ LocalizeText?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
-
permission
↔ List<
ConsentPermission> -
getter/setter pair
- revision ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style ↔ ConsentStyleConfiguration?
-
getter/setter pair
- type ↔ ConsentType?
-
getter/setter pair
- version ↔ int?
-
getter/setter pair
Methods
-
allowAll(
) → void -
denyAll(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setPermission(
ConsentPermissionName name, bool isAllow) → void -
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → ValidationResult
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ConsentMessage -
getText(
Map< String, dynamic> json) → LocalizeText? -
getType(
Map< String, dynamic> json) → ConsentType? -
parse(
String jsonStr) → ConsentMessage