doesDependOnInheritedElement method

  1. @protected
bool doesDependOnInheritedElement(
  1. InheritedElement ancestor
)

Returns true if dependOnInheritedElement was previously called with ancestor.

Implementation

@protected
bool doesDependOnInheritedElement(InheritedElement ancestor) {
  return _dependencies?.contains(ancestor) ?? false;
}