graphQLId top-level property

GraphQLScalarType<String, String> graphQLId
final

The ID scalar type represents a unique identifier, often used to re-fetch an object or as the key for a cache.

The ID type is serialized in the same way as a String; however, defining it as an ID signifies that it is not intended to be human‐readable.

Implementation

final GraphQLScalarType<String, String> graphQLId =
    GraphQLStringType(name: 'ID');