copyWith abstract method

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

Implementation

OSBlocBaseState copyWith(
    {bool? isLoading,
    bool? isError,
    String? errorMessage,
    bool? reachMax,
    int? currentPage,
    List<T>? datas,
    T? data});