Product class
- Implementers
Constructors
-
Product({String? id, required String shopId, required String productType, required String name, required String imgUrl, required double price, required int? quantity, String? description, required bool available, int? rating, List<
SpecialOption> ? specialOptions, List<Review> ? reviewList, bool? deliveryProvince, String? deliveryType})
Properties
- available → bool
-
final
- deliveryProvince → bool?
-
final
- deliveryType → String?
-
final
- description → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- imgUrl → String
-
final
- name → String
-
final
- price → double
-
final
- productType → String
-
final
- quantity → int?
-
final
- rating → int?
-
final
-
reviewList
→ List<
Review> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shopId → String
-
final
-
specialOptions
→ List<
SpecialOption> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited