DriftAdapter<T> class
- Implemented types
-
- LocalAdapter<
T>
- LocalAdapter<
Constructors
Properties
-
deserializer
→ T Function(Map<
String, dynamic> )? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyGenerator → String Function(T)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serializer
→ Map<
String, dynamic> Function(T)? -
final
- tableName → String
-
final
Methods
-
deleteLocally(
T model) → Future< void> -
override
-
deleteModel(
T model) → Future< void> -
getAllModels(
) → Future< List< T> > -
getModelById(
String id) → Future< T?> -
getPendingChanges(
) → Future< List< T> > -
override
-
markAsConflict(
T model) → Future< void> -
markAsError(
T model, String error) → Future< void> -
markAsSynced(
List< T> models) → Future<void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveLocally(
T model) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateLocally(
T model) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited