QueryResult<T> constructor

QueryResult<T>({
  1. T? data,
  2. bool isLoading = false,
  3. dynamic error,
})

Implementation

QueryResult({
  this.data,
  this.isLoading = false,
  this.error,
});