DimensionsInputPhysical class final

Parameters for dimensions input physical in the product API.

Carries weightUnit, weight, size, and volumeUnit, among other supported fields.

Constructors

DimensionsInputPhysical({String? weightUnit, double? weight, double? size, String? volumeUnit, double? volume, double? length, double? height, double? width})
const
DimensionsInputPhysical.fromJson(Map<String, Object?> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → double?
final
length → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → double?
final
volume → double?
final
volumeUnit → String?
final
weight → double?
final
weightUnit → String?
final
width → double?
final

Methods

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

Operators

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