hasNext method
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);
}