clear method

Future clear()

clear.

Implementation

Future clear() {
  if(_storageType == StorageType.HIVE){
    return _realEncryptBox.clear();
  }else if(_storageType == StorageType.SP){
    return _prefs.clear();
  }
  return Future.value(false);
}