getInstance static method

Future<SecureSharedPref> getInstance()

Method to get instance of class.

Implementation

static Future<SecureSharedPref> getInstance() async {
  var object = SecureSharedPref._();
  await object._init();
  return object;
}