DataSink<IdType, EntityType> class
abstract
A DataSink represents a data sink.
- Implementers
Constructors
- DataSink()
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
-
create(
EntityType entity) → Future< int> -
Creates the
entity
and returns its ID. -
delete(
IdType id) → Future< bool> -
Deletes the entity with the given
id
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
IdType id, EntityType entity) → Future< bool> -
Updates the entity with the given
id
to the givenentity
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited