numberOfUnits property

  1. @JsonKey(name: 'number_of_units', includeIfNull: false, fromJson: JsonObject.parseInt)
int? numberOfUnits
getter/setter pair

Number of units of this component contained in the product.

E.g. 6 for a pack of 6 bottles.

Implementation

@JsonKey(
  name: 'number_of_units',
  includeIfNull: false,
  fromJson: JsonObject.parseInt,
)
int? numberOfUnits;