setApplicationConfig method
Implementation
Future<void> setApplicationConfig(
{required ApplicationConfig? applicationConfig}) async {
if (applicationConfig != null) {
_prefs?.setString(Constants.APPLICATION_CONFIG_CACHE,
jsonEncode(applicationConfig.toJson()));
} else {
_prefs?.setString(Constants.APPLICATION_CONFIG_CACHE, "");
}
}