updateProduct abstract method

Future<Either<Failure, Product>> updateProduct(
  1. int id,
  2. Product product
)

Implementation

Future<Either<Failure, Product>> updateProduct(int id, Product product);