setCacheCallback method

void setCacheCallback(
  1. String type,
  2. FutureOr<void> callback(
    1. String
    )
)

Implementation

void setCacheCallback(String type, FutureOr<void> Function(String) callback) {
  _cacheCallbacks[type] = callback;
}