hydrateProducts method
This function allows you to hydrate products.
Implementation
Future<void> hydrateProducts(List<STRProductItem> products) {
return _methodChannel.invokeMethod(
'hydrateProducts',
<String, dynamic>{
'products': products.map((e) => e.toJson()).toList(),
},
);
}