code: function customStorage (type) {
    switch (type) {
      case storageType.ASYNCSTORAGE:
        return new AsyncStorage()
      case storageType.LOCALSTORAGE:
        return new LocalStorage()
      case storageType.COOKIESTORAGE:
        return new CookieStorage()
    }
  }
docs: Storage Class
  
  @param {number} type type of storage
  @class