CartModel class

Constructors

CartModel({int? productId, double? price, double? priceNoVat, String? title, String? image, int? quantity, List<Variant>? variants, int? totalItem, bool? exemptVat, double? totalPrice})
CartModel.fromJson(Map<String, dynamic> json)
factory

Properties

exemptVat bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
image String?
getter/setter pair
price double?
getter/setter pair
priceNoVat double?
getter/setter pair
productId int?
getter/setter pair
quantity int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
getter/setter pair
totalItem int?
getter/setter pair
totalPrice double?
getter/setter pair
variants List<Variant>?
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