ResourceState<T> constructor

const ResourceState<T>({
  1. T? data,
  2. Object? error,
  3. StackTrace? stackTrace,
  4. bool isLoading = false,
})

Implementation

const ResourceState(
    {this.data, this.error, this.stackTrace, this.isLoading = false});