allRootTypenames function

Set<String> allRootTypenames(
  1. Map<String, TypePolicy> typePolicies
)

Implementation

Set<String> allRootTypenames(Map<String, TypePolicy> typePolicies) {
  return {
    ...OperationType.values.map(
      (operationType) => typenameForOperationType(
        operationType,
        typePolicies,
      ),
    )
  };
}