fetchData static method

dynamic fetchData(
  1. String name, {
  2. bool nextPage = false,
  3. String q = '',
  4. String f = '',
  5. String o = '',
  6. int p = 1,
  7. int r = 20,
  8. int s = 0,
  9. bool isForced = false,
})

Implementation

static fetchData(
  String name, {
  bool nextPage = false,
  String q = '',
  String f = '',
  String o = '',
  int p = 1,
  int r = 20,
  int s = 0,
  bool isForced = false,
}) =>
    getList(name) != null
        ? getList(name).fetchData(
            nextPage: nextPage,
            q: q,
            f: f,
            o: o,
            p: p,
            r: r,
            s: s,
            isForced: isForced,
          )
        : null;