CurrentUserStatus.fromJson constructor
CurrentUserStatus.fromJson(
- dynamic json
Implementation
CurrentUserStatus.fromJson(dynamic json)
: purposes = (json["purposes"] as Map).map((key, value) => MapEntry(key, PurposeStatus.fromJson(value))),
vendors = (json["vendors"] as Map).map((key, value) => MapEntry(key, VendorStatus.fromJson(value))),
userId = json["user_id"],
created = json["created"],
updated = json["updated"],
consentString = json["consent_string"],
additionalConsent = json["addtl_consent"],
didomiDcs = json["didomi_dcs"],
regulation = json["regulation"];