Value class Null safety

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

Exactly one of noShipping, flatRate, pricePercentage, carrierRateName, subtableName must be set.

Constructors

Value({String? carrierRateName, Price? flatRate, bool? noShipping, String? pricePercentage, String? subtableName})
Value.fromJson(Map json_)

Properties

carrierRateName String?
The name of a carrier rate referring to a carrier rate defined in the same rate group.
read / write
flatRate Price?
A flat rate.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
noShipping bool?
If true, then the product can't ship.
read / write
pricePercentage String?
A percentage of the price represented as a number in decimal notation (for example, "5.4").
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
subtableName String?
The name of a subtable.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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