DefaultRestRepository<T extends Entity> class

Inheritance

Constructors

DefaultRestRepository(dynamic jsonEntityCreator, String apiUrl)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete(int id) Future<void>
inherited
fetchAll() Future<List<Entity>>
inherited
fetchById(int id) Future<Entity>
inherited
fromMap(Map<String, dynamic> json) Entity
inherited
getApiProvider() Provider<T>
inherited
insert(Entity instance) Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
update(Entity instance) Future<void>
inherited

Operators

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