printType method

String printType(
  1. GraphQLNamedType type
)

Implementation

String printType(GraphQLNamedType type) {
  return type.whenNamed(
    enum_: printEnum,
    scalar: printScalar,
    object: printObject,
    input: printInputObject,
    union: printUnion,
  );
}