printImplementedInterfaces method

String printImplementedInterfaces(
  1. GraphQLObjectType type
)

Implementation

String printImplementedInterfaces(
  GraphQLObjectType type,
) {
  final interfaces = type.interfaces;
  return interfaces.isNotEmpty
      ? ' implements ' +
          interfaces.map((i) => printTypeReference(i)).join(' & ')
      : '';
}