peekNextRevision method

Future<int> peekNextRevision()

Gets the next revision number that would be assigned.

Useful for previewing revision numbers before creating revisions.

final next = await item.peekNextRevision();

Implementation

Future<int> peekNextRevision() async {
  return client.peekNextRevision(kref.uri);
}