BaseRefreshApi<T>.empty constructor

BaseRefreshApi<T>.empty(
  1. dynamic path, {
  2. IsEmptyList<T>? isEmptyList,
  3. required String? listKey,
  4. dynamic param,
  5. Map<String, dynamic>? queryParameters,
  6. Options? opt,
  7. bool isDebug = true,
  8. CancelToken? cancelToken,
  9. String method = 'POST',
  10. bool showToast = true,
  11. bool encrypt = false,
  12. bool showLoading = true,
  13. bool dismissLoading = true,
  14. required TransformJson<T>? serializer,
})

Implementation

BaseRefreshApi.empty(super.path,
    {this.isEmptyList,
    required this.listKey,
    super.param,
    super.queryParameters,
    super.opt,
    super.isDebug,
    super.cancelToken,
    super.method,
    super.showToast,
    super.encrypt,
    super.showLoading,
    super.dismissLoading,
    required super.serializer})
    : super();