addToList static method

Future<void> addToList(
  1. String name,
  2. String code, {
  3. String q = '',
  4. String f = '',
  5. String o = '',
  6. int p = 1,
  7. int r = 20,
  8. int s = 0,
})

Implementation

static Future<void> addToList(
  String name,
  String code, {
  String q = '',
  String f = '',
  String o = '',
  int p = 1,
  int r = 20,
  int s = 0,
}) async {
  await BrowseList.add(_preset!.dataList!, _preset!.accountId!, name, code,
      q: q, f: f, o: o, p: p, r: r, s: s, preset: _preset!);
}