XFromCacheParams.from constructor

XFromCacheParams.from(
  1. XFromCache widget,
  2. SSRBuildContext context
)

Implementation

factory XFromCacheParams.from(XFromCache widget, SSRBuildContext context) {
  return XFromCacheParams(
    widget: context.cache[widget.key],
  );
}