AttendanceRemoteRepository class
- Inheritance
-
- Object
- DataRepository<
AttendanceRegisterModel, AttendanceRegisterSearchModel> - RemoteRepository<
AttendanceRegisterModel, AttendanceRegisterSearchModel> - AttendanceRemoteRepository
Constructors
-
AttendanceRemoteRepository(Dio dio, {required Map<
ApiOperation, String> actionMap, String entityName = 'AttendanceRegister', bool isSearchResponsePlural = true})
Properties
-
actionMap
→ Map<
ApiOperation, String> -
finalinherited
- bulkCreatePath → String
-
no setterinherited
- bulkDeletePath → String
-
no setterinherited
- bulkUpdatePath → String
-
no setterinherited
- createPath → String
-
no setterinherited
- dio → Dio
-
finalinherited
- entityName → String
-
finalinherited
- entityNamePlural → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPlural → bool
-
finalinherited
- isSearchResponsePlural → bool
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchPath → String
-
no setterinherited
- type → DataModelType
-
The
type
getter returns the type of the data model.no setteroverride - updatePath → String
-
no setterinherited
Methods
-
bulkCreate(
List< EntityModel> entities) → FutureOr<Response> -
inherited
-
bulkDelete(
List< EntityModel> entities) → FutureOr<Response> -
inherited
-
bulkUpdate(
List< EntityModel> entities) → FutureOr<Response> -
inherited
-
create(
AttendanceRegisterModel entity) → FutureOr< Response> -
The
create
method creates a new entity.inherited -
delete(
AttendanceRegisterModel entity) → FutureOr< Response> -
The
delete
method deletes an existing entity.inherited -
downSync(
AttendanceRegisterSearchModel query, {int? offSet, int? limit}) → FutureOr< Map< String, dynamic> > -
inherited
-
dumpError(
List< EntityModel> entities, DataOperation operation) → FutureOr<Response> -
inherited
-
executeFuture<
T> ({required Future< T> future()}) → FutureOr<T> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
search(
AttendanceRegisterSearchModel query, {int? offSet, int? limit}) → FutureOr< List< AttendanceRegisterModel> > -
The
search
method searches for entities that match the given query.override -
singleCreate(
AttendanceRegisterModel entity) → FutureOr< Response> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
EntityModel entity) → FutureOr< Response> -
The
update
method updates an existing entity.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited