EditRevisions class final

The revision of every field changed through ops, and by whom: what baseRev is compared with.

Annotations
  • @immutable

Constructors

EditRevisions({int rev = 0, Map<String, Map<String, (int, String)>> fields = const {}})
const

Properties

fields → Map<String, Map<String, (int, String)>>
Node id → field path (props.text; * for the whole node) → the revision and author of its last change.
final
hashCode → int
The hash code for this object.
no setterinherited
rev → int
The document's revision: the number of batches that changed it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

changedSince(String id, int baseRev, String author) → Map<String, int>
The changes to node id after baseRev by an author other than author: path → revision.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited