PPShippingMethods constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
const PPShippingMethods({
  1. required String id,
  2. required String label,
  3. required bool selected,
  4. PPAmount? amount,
  5. PPShippingMethodType? type,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
const factory PPShippingMethods({
  required String id,
  required String label,
  required bool selected,
  PPAmount? amount,
  PPShippingMethodType? type,
}) = _PPShippingMethods;