moduleHasOverrides function Null safety

bool moduleHasOverrides(
  1. Iterable<DependencyConfig> deps
)

Implementation

bool moduleHasOverrides(Iterable<DependencyConfig> deps) {
  return deps.where((d) => d.moduleConfig?.isAbstract == true).any(
        (d) => d.dependencies.isNotEmpty == true,
      );
}