ResourceState<T> constructor
const
ResourceState<T> ({
- T? data,
- Object? error,
- StackTrace? stackTrace,
- bool isLoading = false,
Implementation
const ResourceState(
{this.data, this.error, this.stackTrace, this.isLoading = false});