productInfo method
Gets the product infos of a certain id.
Implementation
Future<ProductInfo> productInfo(String id) async {
final result = await _repository.getProductsInfoRequest(
sessionId,
accountInfo.intAccount,
[id],
);
return result.when(
(productInfo) => productInfo.first,
(error) => throw error..methodName = 'productInfo',
);
}