AiutaConsent class

Represents the consent information for the SDK.

Annotations
  • @JsonSerializable()

Constructors

AiutaConsent.new({required String id, required AiutaConsentType type, required String html})
Creates an AiutaConsent with the specified id, type defining the way of obtaining consents and html text content, representing the consent information.
AiutaConsent.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
html String
The HTML content representing the consent information. May contain links to the relevant documents.
final
id String
Unique identifier for the consent.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AiutaConsentType
Defines the way of obtaining consents for Aiuta to process users' photos and optionally additional consents for host app to use uploaded and generated photos.
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