withRevision method

Kref withRevision(
  1. int number
)

Creates a new kref with a revision number.

Implementation

Kref withRevision(int number) {
  final path = _getPath();
  return Kref('kref://$path?r=$number', validate: false);
}