ScanRepository class

Inheritance

Constructors

ScanRepository(ILogLocalDatasource logLocalDS, IScanLocalDatasource _localDS, IScanRemoteDatasource _remoteDS, HelperUtil _helperUtil, IAuthLocalDatasource _authLocalDS)

Properties

hashCode int
The hash code for this object.
no setterinherited
logLocalDS ILogLocalDatasource
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cacheSavedItem(InventoryItemModel items) Future<Either<Failure, Success>>
override
deleteSavedItem(MyLogModel item) Future<Either<Failure, Success>>
override
getGathererAccessToken() Future<Either<Failure, String>>
override
getInventoryItemByID(String id) Future<Either<Failure, InventoryItemModel>>
pass the ID of the object detected from image detector ex. p001
override
getSavedItems() Future<Either<Failure, List<MyLogModel>>>
override
logModel(InventoryItemModel object) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processImageAR(XFile photo, {String? email}) Future<Either<Failure, InventoryItemModel>>
override
toString() String
A string representation of this object.
inherited

Operators

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