$Consent.fromJson constructor

$Consent.fromJson(
  1. Map json_
)

Implementation

$Consent.fromJson(core.Map json_)
    : this(
        adPersonalization: json_.containsKey('adPersonalization')
            ? json_['adPersonalization'] as core.String
            : null,
        adUserData: json_.containsKey('adUserData')
            ? json_['adUserData'] as core.String
            : null,
      );