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