ApiMapBuilder<K, V> constructor

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

Implementation

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