MutationState<ReturnType> constructor

const MutationState<ReturnType>({
  1. ReturnType? data,
  2. QueryStatus status = QueryStatus.initial,
  3. dynamic error,
})

MutationState holds the current state of an InfiniteQuery.

Should not be instantiated manually. Instead should be read from Mutation.

Implementation

const MutationState({
  this.data,
  this.status = QueryStatus.initial,
  this.error,
});