RemotePriorityResolver<T extends SyncableEntity> class

Resolves conflicts by always preferring the remote version.

Inheritance

Constructors

RemotePriorityResolver()

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
Name of the resolver strategy.
no setteroverride
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({required T? localItem, required T? remoteItem, required ConflictContext context}) → Future<ConflictResolution<T>>
Resolves a conflict between local and remote data.
override
toString() → String
A string representation of this object.
inherited

Operators

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