DocHistory class

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

DocHistory({required String id, required Map<String, InternalDoc> docs, required RevisionTree revisions})
DocHistory.fromJson(Map<String, dynamic> json)
factory

Properties

allConflicts → Iterable<InternalDoc>
no setter
conflicts → Iterable<InternalDoc>
no setter
deletedConflicts → Iterable<InternalDoc>
no setter
docs ↔ Map<String, InternalDoc>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
getter/setter pair
leafDocs → Iterable<InternalDoc>
no setter
revisions ↔ RevisionTree
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
winner → InternalDoc?
no setter
winnerRev → Rev?
no setter
winnerWithDeleted → InternalDoc?
no setter

Methods

compact(int limit) → DocHistory
copyWith({String? id, Map<String, InternalDoc>? docs, RevisionTree? revisions, int? lastSeq}) → DocHistory
getRevision(Rev rev, [int? revLimit]) → Revisions?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
revsDiff(List<Rev> body) → RevsDiff
toDoc<T>(Rev rev, T fromT(Map<String, dynamic> json), {required dynamic revLimit, bool showRevision = false, bool showRevInfo = false, dynamic showConflicts = false}) → Doc<T>?
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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