getSharedPreferences static method
Implementation
static Future<int?> getSharedPreferences(String key) async {
final int? pref = await Ads.instance.channelConsent.invokeMethod(
'getConsentSharedPreferences',
<String, dynamic>{
'key': key,
},
);
return pref;
}