fetchUpdates method

Future<EtebaseItemListResponse> fetchUpdates(
  1. List<EtebaseItem> items, [
  2. EtebaseFetchOptions? fetchOptions
])

Fetch the latest revision of the supplied items from the server and return a list response

@param this_ the object handle @param items the list of items to be fetched @param items_size the number of items @param fetch_options the EtebaseFetchOptions to fetch with

Implementation

Future<EtebaseItemListResponse> fetchUpdates(
  List<EtebaseItem> items, [
  EtebaseFetchOptions? fetchOptions,
]) async =>
    EtebaseItemListResponse._(
      _isolate,
      _i4.Pointer.fromAddress(await _isolate.invoke<int>(
        #etebase_item_manager_fetch_updates,
        <dynamic>[
          _pointer.address,
          items.map((e) => e._pointer.address).toList(),
          fetchOptions,
        ],
      )),
    );