LceLoading<DATA extends Object> constructor
const
LceLoading<DATA extends Object> (
- DATA? data,
- bool dataIsValid, [
- LoadingType type = LoadingType.loading
Data is loading
data
is the current data if any
dataIsValid
Data validity at the time of emission
type
Loading type
Implementation
const LceLoading(this.data, bool dataIsValid, [ this.type = LoadingType.loading ]) : super._internal(dataIsValid);