getProductById abstract method

Future<Either<Failure, Product>> getProductById(
  1. int id
)

Implementation

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