code: @Nullable
      public static Serializable getSerializable(@NonNull SharedPreferences prefs,
              @NonNull String key) {
          return deserialize(prefs.getString(key, null));
      }
docs: Retrieves serializable object stored as BASE_64 encoded string.