printInterface method

String printInterface(
  1. GraphQLObjectType type
)

Implementation

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