SimpleSharedPref constructor

SimpleSharedPref()

Creates an instance of the SimpleSharedPref class.

The SimpleSharedPref class follows the singleton design pattern, ensuring that only one instance of the class is created throughout the application.

Implementation

factory SimpleSharedPref() {
  _cryptoModule = CryptoModule();
  return _instance;
}