findExistingPathKeys method

List<int> findExistingPathKeys()

Implementation

List<int> findExistingPathKeys() {
  final List<int> matches = [];

  for (MapEntry<int, dynamic> entry in widgetContexts.entries) {
    final WidgetPath wp = entry.value;
    if (this == wp) {
      tlLogger.v("Skip removing current widget path entry");
      continue;
    }
    if (isEqual(wp)) {
      tlLogger.v("Path match [${entry.key}]");
      matches.add(entry.key);
    }
  }
  return matches;
}