UserStatus.fromJson constructor

UserStatus.fromJson(
  1. dynamic json
)

Implementation

UserStatus.fromJson(dynamic json)
    : purposes = EntitiesHelper.toPurposesStatus(json["purposes"]),
      vendors = EntitiesHelper.toVendorsStatus(json["vendors"]),
      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"];