makeFriendParams<P extends Object> method

AsyncCacheDelegate<D, P> makeFriendParams<P extends Object>(
  1. String stringify(
    1. P params
    )
)

Creates an adapter delegate that creates CacheFriend params using stringify function Receiver - Delegate with CacheFriend params e.g. the one that saves data to files and uses params as file names

Implementation

AsyncCacheDelegate<D, P> makeFriendParams<P extends Object>(String Function(P params) stringify) {
  return _AsyncFriendAdapter(this, stringify);
}