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