ResourceState<T> constructor

const ResourceState<T>({
  1. ResourceStatus status = ResourceStatus.initial,
  2. T? data,
  3. dynamic exception,
  4. int? updatedAt,
})

Implementation

const ResourceState({
  this.status = ResourceStatus.initial,
  this.data,
  this.exception,
  this.updatedAt,
});