EntityMapper<E extends Object> class abstract

Interface for mapping database rows to entities.

Constructors

EntityMapper()

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

mapRow(Map<String, dynamic> row, DatapodDatabase database, RelationshipContext relationshipContext, {String aliasPrefix = ''}) → E
Maps a single database row to an entity.
mapRows(Iterable<Map<String, dynamic>> rows, DatapodDatabase database, RelationshipContext relationshipContext) List<E>
Maps a list of database rows to a list of entities.
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