PatchWireReplacement class final

A whole-value replacement for a nested field, as opposed to a PatchNested-style edit of the existing value.

diff() writes the replacement sub-entity itself into the patch map, and the generated toWire() wraps it here so the decoder never mistakes it for a field-keyed nested patch map (#215).

Constructors

PatchWireReplacement(Object? value)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Object?
The replacement sub-entity.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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