UserWriteRecord class final

A user overwrite (with overwrite) or merge (with merge) at path, as kept in the write tree and in persistence.

Constructors

UserWriteRecord.merge(WriteId writeId, Path path, CompoundWrite merge)
A merge (always visible).
const
UserWriteRecord.overwrite(WriteId writeId, Path path, Node overwrite, {required bool visible})
An overwrite; visible is false for transactions with applyLocally: false.
const

Properties

hashCode → int
Android: UserWriteRecord.hashCode.
no setteroverride
isMerge → bool
Whether this is a merge.
no setter
isOverwrite → bool
Whether this is an overwrite.
no setter
merge → CompoundWrite?
The writes of a merge.
final
overwrite → Node?
The new data of an overwrite.
final
path → Path
The path.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visible → bool
Whether the write shows in events.
final
writeId → int
The write id.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
Android: UserWriteRecord.toString.
override

Operators

operator ==(Object other) → bool
Equal id, path, visibility and data. Android: UserWriteRecord.equals.
override