OSBlocBaseState<T> constructor

const OSBlocBaseState<T>({
  1. List<T> datas = const [],
  2. bool isLoading = false,
  3. bool isError = false,
  4. bool reachMax = false,
  5. String errorMessage = "",
  6. T? data,
  7. int currentPage = 1,
})

Implementation

const OSBlocBaseState(
    {this.datas = const [],
    this.isLoading = false,
    this.isError = false,
    this.reachMax = false,
    this.errorMessage = "",
    this.data,
    this.currentPage = 1});