ProductData class
Constructors
-
ProductData({int? id, String? merchantId, String? uuid, String? name, String? sku, String? price, String? description, String? quantity, String? thankYouUrl, dynamic categoryId, String? sortOrder, dynamic shippingFee, dynamic tax, String? type, String? meta, String? status, dynamic deletedAt, DateTime? createdAt, DateTime? updatedAt, String? numberSold, List<
Asset> ? assets, List<OrderData> ? orders}) -
ProductData.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
assets
↔ List<
Asset> ? -
getter/setter pair
- categoryId ↔ dynamic
-
getter/setter pair
- createdAt ↔ DateTime?
-
getter/setter pair
- deletedAt ↔ dynamic
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- merchantId ↔ String?
-
getter/setter pair
- meta ↔ String?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
- numberSold ↔ String?
-
getter/setter pair
-
orders
↔ List<
OrderData> ? -
getter/setter pair
- price ↔ String?
-
getter/setter pair
- quantity ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingFee ↔ dynamic
-
getter/setter pair
- sku ↔ String?
-
getter/setter pair
- sortOrder ↔ String?
-
getter/setter pair
- status ↔ String?
-
getter/setter pair
- tax ↔ dynamic
-
getter/setter pair
- thankYouUrl ↔ String?
-
getter/setter pair
- type ↔ String?
-
getter/setter pair
- updatedAt ↔ DateTime?
-
getter/setter pair
- uuid ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited