inputField<T, Serialized> function
GraphQLInputObjectField<T, Serialized>
inputField<T, Serialized>(
- String name,
- GraphQLType<
T, Serialized> type, { - String? description,
- T? defaultValue,
Shorthand for generating a GraphQLInputObjectField.
Implementation
GraphQLInputObjectField<T, Serialized> inputField<T, Serialized>(
String name,
GraphQLType<T, Serialized> type, {
String? description,
T? defaultValue,
}) {
return GraphQLInputObjectField(
name,
type,
description: description,
defaultValue: defaultValue,
);
}