objectScanned abstract method

Future<Either<Failure, String>> objectScanned(
  1. XFile photo,
  2. String accessToken
)

this will upload the image and the scanned service will return the inventory details of the object scanned

Implementation

Future<Either<Failure, String>> objectScanned(
    XFile photo, String accessToken);