getCacheOfThisScope method

  1. @override
dynamic getCacheOfThisScope(
  1. Widget widget, {
  2. required bool isInitiator,
})
inherited

Implementation

@override
dynamic getCacheOfThisScope(Widget widget, {required bool isInitiator}) {
  if (isInitiator) {
    return _initiatorCacheMap[widget.hashCode];
  }

  final initiator = _participatorAndInitiatorMap[widget.hashCode];

  return _initiatorCacheMap[initiator.hashCode];
}