OperationResponse<TData, TVars> constructor
const
OperationResponse<TData, TVars> ({
- required OperationRequest<
TData, TVars> operationRequest, - DataSource dataSource = DataSource.None,
- TData? data,
- dynamic extensions,
- List<
GraphQLError> ? graphqlErrors, - LinkException? linkException,
Instantiates a GraphQL response.
Implementation
const OperationResponse({
required this.operationRequest,
this.dataSource = DataSource.None,
this.data,
this.extensions,
this.graphqlErrors,
this.linkException,
});