Products class
Constructors
-
Products({required String? sId, required String? code, required String? productName, required String? productId, required String? imageId, required String? skuId, required String? productDescription, required String? type, required bool? isMultiple, required List<
Category> ? category, required List<Brand> ? brand, required List<Attribute> ? attribute, required Price? price, required int? totalPieces, required int? qty, required String? imageUrl, required List<SkuIds> ? skuIds, required List<SkuIds> ? children, required String? sTypename}) -
Products.fromJson(Map<
String, dynamic> json) - Products.fromRequestJson(dynamic json)
Properties
-
attribute
↔ List<
Attribute> ? -
latefinal
-
brand
↔ List<
Brand> ? -
latefinal
-
category
↔ List<
Category> ? -
latefinal
-
children
↔ List<
SkuIds> ? -
latefinal
- code ↔ String?
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageId ↔ String?
-
latefinal
- imageUrl ↔ String?
-
latefinal
- isMultiple ↔ bool?
-
latefinal
- price ↔ Price?
-
latefinal
- productDescription ↔ String?
-
latefinal
- productId ↔ String?
-
latefinal
- productName ↔ String?
-
latefinal
- qty ↔ int?
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sId ↔ String?
-
latefinal
- skuId ↔ String?
-
latefinal
-
skuIds
↔ List<
SkuIds> ? -
latefinal
- sTypename ↔ String?
-
latefinal
- totalPieces ↔ int?
-
latefinal
- type ↔ String?
-
latefinal
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