PPItems constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const PPItems({
  1. required String name,
  2. String? description,
  3. String? sku,
  4. String? quantity,
  5. PPItemCategory? category,
  6. PPUnitAmount? tax,
  7. required PPUnitAmount unitAmount,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory PPItems({
  required String name,
  String? description,
  String? sku,
  String? quantity,
  PPItemCategory? category,
  PPUnitAmount? tax,
  required PPUnitAmount unitAmount,
}) = _PPItems;