Product.from constructor
Product.from({})
Returns the new instance of Product based on arguments.
Implementation
Product.from({
required this.id,
required this.type,
required this.name,
required this.description,
required this.price,
required this.currency,
});