setApplicationConfig method

Future<void> setApplicationConfig({
  1. required ApplicationConfig? applicationConfig,
})

Implementation

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