resolveAll method

Set<String> resolveAll(
  1. DartType type
)

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 == '');
}