Vendors.fromJson constructor Null safety

Vendors.fromJson(
  1. dynamic json
)

Implementation

Vendors.fromJson(dynamic json)
    : global = EntitiesHelper.toIds(json["global"]),
      globalConsent = EntitiesHelper.toIds(json["global_consent"]),
      globalLegitimateInterest = EntitiesHelper.toIds(json["global_li"]),
      consent = EntitiesHelper.toIds(json["consent"]),
      legitimateInterest = EntitiesHelper.toIds(json["legitimate_interest"]);