resolveAll method
Implementation
Set<String> resolveAll(DartType type) {
final imports = <String>{};
final resolvedValue = resolve(type.element);
if (resolvedValue != null) {
imports.add(resolvedValue);
}
imports.addAll(_checkForParameterizedTypes(type));
return imports..removeWhere((element) => element == '');
}