printScalar method

String printScalar(
  1. GraphQLScalarType type
)

Implementation

String printScalar(GraphQLScalarType type) {
  return printDescription(type.description) +
      'scalar ${printTypeName(type)}${printDirectives(type)}';
}