BaseRefreshApi<T> constructor

BaseRefreshApi<T>({
  1. String path = '',
  2. Options? opt,
  3. dynamic param,
  4. int page = 1,
  5. int pageSize = 10,
  6. IsEmptyList<T>? isEmptyList,
  7. String? listKey,
  8. String? pageNumKey,
  9. String? pageSizeKey,
  10. Map<String, dynamic>? queryParameters,
  11. bool showToast = true,
  12. bool showLoading = true,
  13. TransformJson<T>? serializer,
})

Implementation

BaseRefreshApi(
    {String path = '',
    Options? opt,
    dynamic param,
    this.page = 1,
    this.pageSize = 10,
    this.isEmptyList,
    this.listKey,
    this.pageNumKey,
    this.pageSizeKey,
    Map<String, dynamic>? queryParameters,
    bool showToast = true,
    bool showLoading = true,
    TransformJson<T>? serializer})
    : super(
          path: path,
          opt: opt,
          param: param,
          queryParameters: queryParameters,
          showLoading: showLoading,
          showToast: showToast,
          serializer: serializer);