OrynRepository<T> class abstract

Constructors

OrynRepository({required String tableName, required T fromMap(Map<String, dynamic>)})

Properties

fromMap → T Function(Map<String, dynamic>)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String
final

Methods

all() Future<List<T>>
create(T data) Future<T?>
delete(int id) Future<bool>
find(String id) Future<T?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
where(String field, dynamic value) Future<List<T>>

Operators

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