NUIListViewModel<T, C> constructor
NUIListViewModel<T, C> ({
- String? id,
- bool skeletalLoading = false,
- bool paginationLoading = false,
- List<
T> ? newData, - bool reachedEnd = false,
- bool swipeRefreshing = false,
- bool success = false,
- List<
T> ? data, - bool appending = false,
- String? message,
- String? errorCode,
- C? cursor,
- UpdateListMap? updateCheckedMap,
- UpdateListMap? updateConfigMap,
Implementation
NUIListViewModel({
this.id,
this.skeletalLoading = false,
this.paginationLoading = false,
this.newData,
this.reachedEnd = false,
this.swipeRefreshing = false,
this.success = false,
this.data,
this.appending = false,
this.message,
this.errorCode,
this.cursor,
this.updateCheckedMap,
this.updateConfigMap
}){
id = randomUUID();
}