coerceToInputObject method

  1. @override
GraphQLType<P, Map<String, dynamic>> coerceToInputObject()
override

Turns this type into one suitable for being provided as an input to a GraphQLObjectField.

Implementation

@override
GraphQLType<P, Map<String, dynamic>> coerceToInputObject() {
  return toInputObject('${name}Input', description: description);
}