BatchUpdateOperation class final

Inheritance

Constructors

BatchUpdateOperation({required String model, required String recordId, Map<String, Object?>? fields, int? expectedVersion})
const
BatchUpdateOperation.fromJson(Map<String, Object?> json)
factory

Properties

expectedVersion → int?
Optimistic-concurrency precondition; the batch fails on mismatch.
final
fields → Map<String, Object?>?
Patch semantics: {"field": value} sets, {"field": null} clears, {"numericField": {"$increment": delta}} atomically adds (same contract as updateRecord).
final
hashCode → int
The hash code for this object.
no setterinherited
model → String
The exact config-declared model name.
final
operation → String
no setter
recordId → String
The record to update; must carry the model’s ID prefix.
final
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
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
inherited

Operators

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