Product class

Implementers

Constructors

Product({required String barcode, BarcodeDetails? barcodeDetails, required Titles titles, List<Category> categories = const [], Manufacturer? manufacturer, List<Manufacturer> relatedBrands = const [], List<Image> images = const [], Map<String, dynamic>? metadata})

Properties

barcode String
final
barcodeDetails BarcodeDetails?
final
categories List<Category>
final
hashCode int
The hash code for this object.
no setterinherited
images List<Image>
final
manufacturer Manufacturer?
final
metadata Map<String, dynamic>?
final
relatedBrands List<Manufacturer>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titles Titles
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited