QueryState<DataType, ErrorType> constructor
const
QueryState<DataType, ErrorType> ({})
Implementation
const QueryState({
this.data,
this.error,
required this.updatedAt,
required this.staleDuration,
bool loading = false,
}) : _loading = loading;