data property
T
get
data
Data contained by the provider.
Implementation
T get data {
if (_data is! T || _data.invalid) {
return factoryFunc().copyWith(invalid: true) as T;
}
return _data as T;
}
set
data
(T data)
Implementation
set data(T data) {
_data = data;
}