Price class

Annotations

Constructors

Price({@JsonKey(name: 'Price') num? price, @JsonKey(name: 'PriceVat') num? priceVat, @JsonKey(name: 'PriceVatWithoutDiscount') num? priceVatWithoutDiscount, @JsonKey(name: 'PromoDelta') num? promoDelta, @JsonKey(name: 'RuleID') String? ruleId, @JsonKey(name: 'RuleName') String? ruleName, @JsonKey(name: 'TotalPrice') num? totalPrice, @JsonKey(name: 'TotalPriceVat') num? totalPriceVat, @JsonKey(name: 'price_vat_by_currency') num? priceVatByCurrency})
const
factory
Price.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $PriceCopyWith<Price>
Create a copy of Price with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
price num?
no setterinherited
priceVat num?
no setterinherited
priceVatByCurrency num?
no setterinherited
priceVatWithoutDiscount num?
no setterinherited
promoDelta num?
no setterinherited
ruleId String?
no setterinherited
ruleName String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPrice num?
no setterinherited
totalPriceVat num?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Price to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited