IScanRemoteDatasource class abstract

Implementers

Constructors

IScanRemoteDatasource()

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

deleteSavedScans(String token, String id) Future<Either<Failure, Success>>
getInventoryItemByID(String id) Future<Either<Failure, InventoryItemModel>>
getMySavedScans(String accessToken) Future<Either<Failure, List<MyLogModel>>>
newSavedScans(String token, MyLogModel model) Future<Either<Failure, MyLogModel>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
objectScanned(XFile photo, String accessToken) Future<Either<Failure, String>>
this will upload the image and the scanned service will return the inventory details of the object scanned
objectScannedV2(XFile photo, String accessToken) Future<Either<Failure, InventoryItemModel>>
objectScannedV4(XFile photo, String accessToken, {String? email}) Future<Either<Failure, ScanResponseModel>>
objectScannedV5(XFile photo, String accessToken, {String? email}) Future<Either<Failure, ScanResponseModel>>
toString() String
A string representation of this object.
inherited

Operators

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