Repository<T> class abstract

Constructors

Repository.new()

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(T model) Future<BaseResponse>
delete(T model) Future<BaseResponse>
get(String id) Future<T?>
listAll([int? page]) Future<PaginatedModel<BaseModel>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(T model) Future<BaseResponse>

Operators

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