TypedConflictResolver class abstract Replication Typed Data

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

Annotations
  • @experimental

Constructors

TypedConflictResolver()
Constructor to allow subclasses to extend TypedConflictResolver.
const
TypedConflictResolver.from(TypedConflictResolverFunction resolve)
Creates a TypedConflictResolver 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(TypedConflict conflict) FutureOr<TypedDocumentObject<Object>?>
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