IndividualRemoteRepository class
- Inheritance
-
- Object
- DataRepository<
IndividualModel, IndividualSearchModel> - RemoteRepository<
IndividualModel, IndividualSearchModel> - IndividualRemoteRepository
Constructors
-
IndividualRemoteRepository(Dio dio, {required Map<
ApiOperation, String> actionMap, String entityName = 'Individual'})
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(
IndividualModel entity) → FutureOr< Response> -
The
create
method creates a new entity.inherited -
delete(
IndividualModel entity) → FutureOr< Response> -
The
delete
method deletes an existing entity.inherited -
downSync(
IndividualSearchModel 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(
IndividualSearchModel query, {int? offSet, int? limit}) → FutureOr< List< IndividualModel> > -
The
search
method searches for entities that match the given query.inherited -
singleCreate(
IndividualModel 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