init static method

dynamic init()

Implementation

static init() async {
  final databasesPath = Platform.isIOS ? '' : ('${await getDatabasesPath()}/');
  // Get a location using getDatabasesPath
  try {
    path = '${databasesPath}sharedPreferences.db';
  } catch (_) {
  }
}