RecordUpdates<T, Key> class
Describes changes in the data source.
Constructors
-
RecordUpdates.new({Iterable<
Key> deletedKeys = const {}, Iterable<T> insertedRecords = const {}, Iterable<T> updatedRecords = const {}}) -
Creates description of changes in the data source.
const
- RecordUpdates.empty()
-
Creates a RecordUpdates object that contains no changes in
the data source.
factory
Properties
-
deletedKeys
→ Iterable<
Key> -
List of keys of deleted records.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
insertedRecords
→ Iterable<
T> -
List of new records.
final
- isEmpty → bool
-
Whether the data source has no changes.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updatedRecords
→ Iterable<
T> -
List of updated records.
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