onInit static method

Future onInit()

Commenting as this is not used anywhere

Implementation

// setDefaultValues(){
//   if(_preferences.containsKey("${Constants.package}notification_sound")){
//
//   }
// }
static Future onInit() async {
  _preferences = await SharedPreferences.getInstance();
  /*try {
    _preferences = await SharedPreferences.getInstance();
  }catch(e){
    SharedPreferences.setMockInitialValues({});
    _preferences = await SharedPreferences.getInstance();
  }*/
  SessionManagement.setCurrentChatJID("");
}