HelixworldsSDKService class

Inheritance

Constructors

HelixworldsSDKService(IUserDetailsRepository userDetailsRepo, ScanRepository scanRepo, ILogLocalDatasource logLocaDatasource, ImagePicker picker, HelperUtil _helperUtil, IAuthLocalDatasource _authLocalDS, {bool isLocal = true})

Properties

hashCode int
The hash code for this object.
no setterinherited
isLocal bool
final
logLocaDatasource ILogLocalDatasource
final
picker → ImagePicker
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scanRepo ScanRepository
final
userDetailsRepo IUserDetailsRepository
final
userId String?
getter/setter pair

Methods

cacheFavoritesItem(InventoryItemModel model) Future<Either<Failure, Success>>
override
cacheValorToken(String token) Future<Either<Failure, Success>>
override
deleteFavoriteItem(MyLogModel model) Future<Either<Failure, Success>>
override
fetchFavoritesItems() Future<Either<Failure, List<MyLogModel>>>
override
fetchScannedItems() Future<Either<Failure, List<MyLogModel>>>
override
getAccessToken() Future<Either<Failure, String>>
override
getAnalyticsRepoService() AnalyticsRepository?
analytics mixpanel tracking event
override
getDefaultUserId() String
override
getUserId() Future<Either<Failure, String>>
override
isLocalFetch() bool
override
loginMobile(String developerId, String secret, String uuid, {String field = "destination"}) Future<Either<Failure, Success>>
auth gatherer just pass the developerId provided by metaverse group and secret key to be able to access our scanning api service features
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redirectToUrl(String murl) Future<Either<Failure, Success>>
override
scanItem({String? email}) Future<Either<Failure, Success>>
set isAR = true then it will process the image detection using amazon rekognition
override
scanItemsByAR(XFile image, {String? email}) Future<Either<Failure, Success>>
override
setForProduction() Future<Either<Failure, Success>>
override
toString() String
A string representation of this object.
inherited

Operators

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