IncrementalData class

Interface for the output object of Model#toIncrementalData.

All properties of this object are optional, as they are only included if changes occurred. For instance, if a transaction didn't include any changes to modelData, the modelData property of this interface won't be included on the output object.

Any shared or cyclic references within the model data will be maintained on the data included on this output object.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

IncrementalData({Object? modelData, Array? insertedNodeKeys, Array<Object>? modifiedNodeData, Array? removedNodeKeys, Array? insertedLinkKeys, Array<Object>? modifiedLinkData, Array? removedLinkKeys})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
insertedLinkKeys Array?

Available on IncrementalData, provided by the IncrementalData$Typings extension

Array of link keys added. Any key included will also be included in the modifiedLinkData array.
getter/setter pair
insertedNodeKeys Array?

Available on IncrementalData, provided by the IncrementalData$Typings extension

Array of node keys added. Any key included will also be included in the modifiedNodeData array.
getter/setter pair
modelData Object?

Available on IncrementalData, provided by the IncrementalData$Typings extension

Object containing the modified Model#modelData.
getter/setter pair
modifiedLinkData Array<Object>?

Available on IncrementalData, provided by the IncrementalData$Typings extension

Array of link data objects modified.
getter/setter pair
modifiedNodeData Array<Object>?

Available on IncrementalData, provided by the IncrementalData$Typings extension

Array of node data objects modified.
getter/setter pair
removedLinkKeys Array?

Available on IncrementalData, provided by the IncrementalData$Typings extension

Array of link keys deleted.
getter/setter pair
removedNodeKeys Array?

Available on IncrementalData, provided by the IncrementalData$Typings extension

Array of node keys deleted.
getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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