UpdateAdapter<T> class

Constructors

UpdateAdapter(DatabaseExecutor database, String entityName, List<String> primaryKeyColumnName, Map<String, Object?> valueMapper(T), [StreamController<String>? changeListener])

Properties

hashCode int
The hash code for this object.
no setterinherited
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
update(T item, OnConflictStrategy onConflictStrategy) Future<void>
updateAndReturnChangedRows(T item, OnConflictStrategy onConflictStrategy) Future<int>
updateList(List<T> items, OnConflictStrategy onConflictStrategy) Future<void>
updateListAndReturnChangedRows(List<T> items, OnConflictStrategy onConflictStrategy) Future<int>

Operators

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