Value class

The single value of a rate group or the value of a rate group table's cell.

Exactly one of no_shipping, flat_rate, price_percentage, carrier_rateName, subtable_name must be set.

Constructors

Value.new({String? carrierRate, Price? flatRate, bool? noShipping, String? pricePercentage, String? subtable})
Value.fromJson(Map json_)

Properties

carrierRate String?
The name of a carrier rate referring to a carrier rate defined in the same rate group.
getter/setter pair
flatRate Price?
A flat rate.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
noShipping bool?
If true, then the product can't be shipped.
getter/setter pair
pricePercentage String?
A percentage of the price represented as a number in decimal notation (For example, "5.4").
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtable String?
The name of a subtable.
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