maximumAdContentRating property
The maximum ad content rating shown to the user.
Set this property to AdContentRating.none to clear this value.
Implementation
set maximumAdContentRating(AdContentRating value) {
if (value == AdContentRating.none ||
value == AdContentRating.allAudiences ||
value == AdContentRating.everyoneOverTwelve ||
value == AdContentRating.matureAudiences) {
_channel.invokeMethod('setTargetingDataMaximumAdContentRating', {
'value': value.value,
});
}
}