cache3states_0params_x<Result, State1, State2, State3, Extra> function Null safety

Result Function() Function(State1, State2, State3, Extra) cache3states_0params_x<Result, State1, State2, State3, Extra>(
  1. Result Function() f(
    1. State1,
    2. State2,
    3. State3,
    4. Extra
    )
)

Cache for 3 immutable states, no parameters, and some extra information.This is the same as cache1state but with an extra information. Note: The extra information is not used in any way to decide whether the cache should be used/recalculated/evicted. It's just passed down to the f function to be used during the result calculation.

Implementation

Result Function() Function(State1, State2, State3, Extra)
    cache3states_0params_x<Result, State1, State2, State3, Extra>(
  Result Function() Function(State1, State2, State3, Extra) f,
) =>
        c.cache3states_0params_x(f);