CartResponse class
- Annotations
Constructors
-
CartResponse({@JsonKey(name: 'total_calculated') List<
Price> ? totalCalculated, List<ProductResponse> ? products, @JsonKey(name: 'burning_time') String? burningTime, @JsonKey(name: 'products_removed') List<ProductResponse> ? productsRemoved, @JsonKey(name: 'vendor_id') int? vendorId, @JsonKey(name: 'vendor_name') String? vendorName, @JsonKey(name: 'vendor_logo') String? vendorLogo, @JsonKey(name: 'vendor_url') String? vendorUrl, @JsonKey(name: 'vendor_default_price_rule') String? vendorDefaultPriceRule, String? error}) -
constfactory
-
CartResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- burningTime → String?
-
no setterinherited
-
copyWith
→ $CartResponseCopyWith<
CartResponse> -
Create a copy of CartResponse
with the given fields replaced by the non-null parameter values.
no setterinherited
- error → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
products
→ List<
ProductResponse> ? -
no setterinherited
-
productsRemoved
→ List<
ProductResponse> ? -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
totalCalculated
→ List<
Price> ? -
no setterinherited
- vendorDefaultPriceRule → String?
-
no setterinherited
- vendorId → int?
-
no setterinherited
- vendorLogo → String?
-
no setterinherited
- vendorName → String?
-
no setterinherited
- vendorUrl → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this CartResponse to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited