printObject method

String printObject(
  1. GraphQLObjectType type
)

Implementation

String printObject(GraphQLObjectType type) {
  if (type.isInterface) {
    return printInterface(type);
  }
  return printDescription(type.description) +
      'type ${printTypeName(type)}' +
      printImplementedInterfaces(type) +
      printDirectives(type) +
      printFields(type);
}