QueryResponse<T> constructor Null safety

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

Creates QueryResponse instance

Implementation

QueryResponse({
  this.data,
  this.loading = false,
  this.error,
});