ConflictResolver class abstract base Replication

An object which is able to resolve a Conflict between the local and remote versions of a replicated Document.

Constructors

ConflictResolver()
Constructor to allow subclasses to extend ConflictResolver.
const
ConflictResolver.from(ConflictResolverFunction resolve)
Creates a ConflictResolver from a function which is called to resolve the conflict.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(Conflict conflict) FutureOr<Document?>
Resolves the conflict between the local and the remote version of a Document.
toString() String
A string representation of this object.
inherited

Operators

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