list method

Future<FreeList> list({
  1. int? country,
  2. String? number,
  3. int? page,
  4. int? count,
})

Countries, the numbers of the selected country and the SMS of the selected number (without the country code, as the keys of FreeList.numbers). page and count page the SMS (count 10–500).

Implementation

Future<FreeList> list({
  int? country,
  String? number,
  int? page,
  int? count,
}) async {
  final res = await _request('getFreeList', query: {
    'country': country,
    'number': number,
    'page': page,
    'count': count,
  });
  return FreeList.fromJson(asMap(res));
}