Apollo Response
Represents a GraphQL response. GraphQL responses can be partial responses, so it is valid to have both data != null and exception != null
Valid states are:
data != null && exception == null: complete data with no error
data == null && exception != null: no data, a network error or operation error happened
data != null && exception != null: partial data with field errors
Properties
A shorthand property to get a non-nullable data if handling partial data is not important
An ApolloException if a GraphQL response wasn't received.
The context of GraphQL operation execution. This can contain additional data contributed by interceptors.
Indicates that this ApolloResponse is the last ApolloResponse in a given Flow and that no other items are expected.
Functions
Return data if not null or throws NoDataException else