ApiListBuilder<T> constructor

ApiListBuilder<T>({
  1. required String url,
  2. Map<String, String>? args,
  3. String? method,
  4. String? dataPath,
  5. required Widget builder(
    1. ApiResponseList<T>? data
    ),
  6. Widget? loading,
  7. bool showLoading = true,
  8. String? errorPath,
})

Implementation

ApiListBuilder(
    {required this.url,
    this.args,
    this.method,
    this.dataPath,
    required this.builder,
    this.loading,
    this.showLoading: true,
    this.errorPath});