LoyaltyPoints constructor Null safety

LoyaltyPoints(
  1. {int? amountOfLoyaltyPointsUsed,
  2. int? amountOfMoneyGainedFromLoyaltyPoints,
  3. int? amountOfLoyaltyPointsGained,
  4. double? customerLoyaltyPoints,
  5. int? loyaltyPointsRedeemed,
  6. double? amountOfMoneyConverted,
  7. bool? hasLoyaltyPoints,
  8. bool? loyaltyEnabled,
  9. String? configLoyaltyPointsToMoney}
)

Implementation

LoyaltyPoints({
  this.amountOfLoyaltyPointsUsed,
  this.amountOfMoneyGainedFromLoyaltyPoints,
  this.amountOfLoyaltyPointsGained,
  this.customerLoyaltyPoints,
  this.loyaltyPointsRedeemed,
  this.amountOfMoneyConverted,
  this.hasLoyaltyPoints,
  this.loyaltyEnabled,
  this.configLoyaltyPointsToMoney,
});