dependentAttributesOf method

Iterable dependentAttributesOf(
  1. dynamic attribute
)

Implementation

Iterable<dynamic> dependentAttributesOf(dynamic attribute) sync* {
  final dependencyKey = identityHashCode(attribute);
  final dependents = _dependents[dependencyKey];
  if (dependents == null) {
    return;
  }
  for (final dependentKey in dependents) {
    final dependent = _attributes[dependentKey];
    if (dependent != null) {
      yield dependent;
    }
  }
}