ConflictResolver class Null safety 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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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