use_query library

Functions

useQuery(QueryOptions queryOptions, {GraphQLClient client}) QueryOperationResult<Map<String, dynamic>, _RefetchFunction>
Runs the given query defined by the options param(QueryOptions) immediately after the Widget is built (see useEffect usage). The fetcher function is not meant to throw errors and these are stored in the error field.