resume_block_iterator method

Future<RegisteredIterator> resume_block_iterator(
  1. ParamsOfResumeBlockIterator params
)

The iterator stays exactly at the same position where the resume_state was caught.

Application should call the remove_iterator when iterator is no longer required.

Implementation

Future<RegisteredIterator> resume_block_iterator(
    ParamsOfResumeBlockIterator params) async {
  final res = await _tonCore.request(
      'net.resume_block_iterator', params.toString());
  return RegisteredIterator.fromMap(res);
}