MapStorageAccessAgent class
The access aggent for map-based storage.
- Implemented types
Constructors
-
MapStorageAccessAgent([Map<
String, String> ? storage]) -
MapStorageAccessAgent.by(EntityCache cache, [Map<
String, String> ? storage]) -
Constructs with the given
cache
. *
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(
Entity entity, Map data) → Future? -
Creates a new entity with the given OID into the database.
*
override
-
delete(
Entity entity, AccessOption? option) → Future? -
Deletes the entity from database.
override
-
load(
Entity entity, Iterable< String> ? fields, AccessOption? option) → FutureOr<Map< String, dynamic> ?> -
Loads the data of the given OID.
*
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Entity entity, Map data, Iterable< String> ? fields) → Future? -
Updates the entity with the given OID into database.
*
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited