hasNext method

  1. @override
Future<bool> hasNext(
  1. String paginatedListIteratorId
)
override

Implementation

@override
Future<bool> hasNext(String paginatedListIteratorId) async {
  final res = await _methodChannel.invokeMethod<String>(
      'hasNext',
      {
        "paginatedListIteratorId": paginatedListIteratorId
      }
  );
  if (res == null) throw AssertionError("received null result from platform method hasNext");
  return jsonDecode(res);
}