part of graphql_schema.src.schema; GraphQLObjectType objectType(String name, {String description, Iterable fields = const []}) => new GraphQLObjectType(name, description)..fields.addAll(fields ?? []); GraphQLField field(String name, {Iterable> arguments: const [], GraphQLFieldResolver resolve, GraphQLType type}) { return new GraphQLField(name, arguments: arguments, resolve: resolve, type: type); }