ScanRemoteDatasource class

Inheritance

Constructors

ScanRemoteDatasource(Dio dio, HelperUtil _helperUtil, SentryUtil _sentryUtil)

Properties

dio → Dio
final
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>>
override
getInventoryItemByID(String id) Future<Either<Failure, InventoryItemModel>>
override
getMySavedScans(String accessToken) Future<Either<Failure, List<MyLogModel>>>
override
newSavedScans(String token, MyLogModel model) Future<Either<Failure, MyLogModel>>
override
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
override
objectScannedV2(XFile photo, String accessToken) Future<Either<Failure, InventoryItemModel>>
override
objectScannedV4(XFile photo, String accessToken, {String? email}) Future<Either<Failure, ScanResponseModel>>
override
objectScannedV5(XFile photo, String accessToken, {String? email}) Future<Either<Failure, ScanResponseModel>>
override
toString() String
A string representation of this object.
inherited

Operators

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