itemRevisions method

Future<EtebaseItemRevisionsListResponse> itemRevisions(
  1. EtebaseItem item, [
  2. EtebaseFetchOptions? fetchOptions
])

Fetch and return a list response of items with each item as the revision

@param this_ the object handle @param item the item for which to fetch the revision history @param fetch_options the EtebaseFetchOptions to fetch with

Implementation

Future<EtebaseItemRevisionsListResponse> itemRevisions(
  EtebaseItem item, [
  EtebaseFetchOptions? fetchOptions,
]) async =>
    EtebaseItemRevisionsListResponse._(
      _isolate,
      _i4.Pointer.fromAddress(await _isolate.invoke<int>(
        #etebase_item_manager_item_revisions,
        <dynamic>[
          _pointer.address,
          item._pointer.address,
          fetchOptions,
        ],
      )),
    );