getConfig method
- String preferenceCenterID
Returns the configuration of the Preference Center with the given preferenceCenterID
.
Implementation
Future<PreferenceCenterConfig?> getConfig(String preferenceCenterID) async {
var config = await _module.channel.invokeMethod(
'preferenceCenter#getConfig', preferenceCenterID);
return PreferenceCenterConfig.fromJson(Map<String, dynamic>.from(config));
}