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